    

 ## On this page

  

 

 # create\_field\_definition\_plot

 Last update: 16.07.2026 

<a id="compolyx.plot_data.LayupPlotDict.create_field_definition_plot"></a>

## LayupPlotDict.create\_field\_definition\_plot(name=None, id=None, scope\_entire\_model=True, data\_scope=\[\], field\_variable\_name=None, show\_on\_solids=False, add\_to\_active\_set=True, locked=False)

Create a FieldDefinition Plot object.

### Parameters

- name: Name of the plot.
- id: ID for the plot.
- scope\_entire\_model: If ‘True’, then the scope of this plot is the entire model. If not, then set to false and use the data\_scope to specify a sub scope.
- data\_scope: One or more objects defining the scope for which data is computed and returned. Applicable are: element set, oriented selection set, modeling ply.
- show\_on\_solids: ‘True’ or ‘False’ (default). Whether to show the results on the shell or solid model (if present).

### Returns

The plot object.

### Example

: Create a field definition plot for field degradation with Data Scope set to element set “All\_Elements” in ply\_wise mode:

```default
>>> field_plot = db.active_model.layup_plots.create_field_definition_plot(self, name="MyPlot", field_variable_name="degradation", data_scope=db.active_model.element_sets['All_Elements'], ply_wise = True)

```