create_layup_mapping_plot
LayupPlotDict.create_layup_mapping_plot(name=None, id=None, data_scope=[], ply_wise=True, add_to_active_set=True, locked=False, component=None, show_on_solids=True, active=True)
Create a Layup Mapping Plot object.
- Parameters:
- name: Name of the plot.
- id: ID for the plot.
- data_scope: Object(s) defining the scope for which data is computed and returned. Applicable are: Imported Solid Model.
- ply_wise:
TrueorFalse(default). Decides whether to return the thickness of the individual plies or of the whole stack of plies present at an element. - show_on_solids:
TrueorFalse(default). Whether to show the results on the shell or solid model (if present). - component: Specifies the active component.
- show_on_solids: Whether to show the values of the solid element.
- active: Whether the plot is active.
- Returns: The plot object.
Example: : Create a thickness plot with Data Scope set to Element Set “All_Elements” in ply_wise mode:
>>> thick_plot = db.active_model.layup_plots.create_layup_mapping_plot(self, name="MyPlot", data_scope=[db.active_model.solid_models['ImportedSolidModel'], ply_wise = True)