#### 6.10.1.3. PostProcessingPlotDict Class

`class compolyx.plot_data.PostProcessingPlotDict`(name, label=None, obj=None, list=[], item_type=<type 'object'>, parent=None, key_attr='name')

Container for Post Processing Plots

`create_deformation_contour_plot`(name=None, id=None, active=True, data_scope=[], component=None, spot=None, ply_wise=False, show_on_solids=False, solution_set=-1)

  Create a Deformation 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: Element Set, Oriented Selection Set, Modeling Ply, Sampling Point

  - component : 'x', 'y', 'z', 'rotx', 'roty', 'rotz', 'usum'

  - show_on_solids : True or False (default). Whether to show the results on the shell or solid model (if present).

  - solution_set : Selection of the Solution Set.

  Returns

  the plot object

  Example:

    Create a deformation plot with Data Scope set to Element Set "All_Elements" for 'rotx':

        >>> defo_plot = db.active_model.solutions['Solution.1'].plots.create_deformation_contour_plot(self, name="MyPlot", data_scope=db.active_model.element_sets['All_Elements'], component = 'rotx')

`create_failure_plot`(name=None, id=None, active=True, data_scope=[], component=None, spot=None, ply_wise=False, show_on_solids=False, show_critical_failure_mode=True, show_critical_layer=False, show_critical_load_case=False, text_threshold=0.0, text_threshold_auto=True, failure_criteria_definition=None, show_ply_offsets=False, ply_offset_scale_factor=1.0, solution_set=-1)

  Create a Failure Criterion 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: Element Set, Oriented Selection Set, Modeling Ply, Sampling Point

  - component : 'irf', 'mos', or 'rf', which are Inverse Reserve Factor, Margin of Safety, and Reserve Factor

  - ply_wise : True or False (default). Decides whether to evaluate for individual plies or pick the most critical ply per element.

  - show_on_solids : True or False (default). Whether to show the results on the shell or solid model (if present).

  - show_critical_failure_mode : True (default) or False. Whether to show the text, which indicates the mode of failure.

  - show_critical_layer : Ture or False (default). Whether to show the text, which indicates the number of the failing ply (only if ply_wise = False)

  - show_critical_load_case : Ture or False (default). Whether to show the text, which indicates the load case for which failure is predicted (only for Envelope Solutions)

  - text_threshold : Threshold value above/below which text for an element is hidden. This helps to declutter the text plot.

  - text_threshold_auto : True (default) or False. If True, suggested text_thersold values are used.

  - failure_criteria_definition : Object of the failure criterion definition to be used for this plot.

  - show_ply_offsets : True or False (default). Whether to display ply-wise visualizations with ply offsets or not.

  - ply_offset_scale_factor : Scale factor for the offsets of the visualized plies if show_ply_offsets=True.

  - solution_set : Selection of the Solution Set.

  Returns

  the plot object

  Example:

    Create a failure criterion plot with Data Scope set to Element Set "All_Elements", showing the inverse reserve factor with the most critical layer per element for failure criterion "MyFC", and not showing any text.:

        >>> fc_plot = db.active_model.solutions['Solution.1'].plots.create_failure_plot(self, name="MyPlot", data_scope=db.active_model.element_sets['All_Elements'], component = 'irf', ply_wise = False, show_critical_failure_mode = False, failure_criteria_definition = db.active_model.definitions['MyFC'])

`create_progressive_damage_plot`(name=None, id=None, active=True, data_scope=[], component=None, spot=None, ply_wise=False, show_on_solids=False, show_ply_offsets=False, ply_offset_scale_factor=1.0, solution_set=-1)

  Create a Progressive Damage 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: Element Set, Oriented Selection Set, Modeling Ply, Sampling Point

  - component : 'state', 'fc', 'ft', 'mc', 'mt', 's' which are damage status, fiber compressive/tension damage, matrix compressive/tension damage and shear damage.

  - spot : 'bot', 'top', 'mid' (only if ply_wise = True)

  - ply_wise : True (default) or False. Decides whether to evaluate for individual plies or return the result of the finite element.

  - show_on_solids : True or False (default). Whether to show the results on the shell or solid model (if present).

  - show_ply_offsets : True or False (default). Whether to display ply-wise visualizations with ply offsets or not.

  - ply_offset_scale_factor : Scale factor for the offsets of the visualized plies if show_ply_offsets=True.

  - solution_set : Selection of the Solution Set.

  Returns

  the plot object

  Example:

    Create a progressive damage plot with Data Scope set to Element Set "All_Elements" for 'e1' at 'mid' in ply_wise mode:

        >>> pd_plot = db.active_model.solutions['Solution.1'].plots.create_progressive_damage_plot(self, name="MyPlot", data_scope=db.active_model.element_sets['All_Elements'], component = 'state', spot = 'bot', ply_wise = Flase)

`create_strain_plot`(name=None, id=None, active=True, data_scope=[], component=None, spot=None, ply_wise=True, show_on_solids=False, show_ply_offsets=False, ply_offset_scale_factor=1.0, solution_set=-1)

  Create a Strain 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: Element Set, Oriented Selection Set, Modeling Ply, Sampling Point

  - component : 'e1', 'e2', 'e3', 'e12', 'e23', 'e13', 'eI', 'eII', 'eIII'

  - spot : 'bot', 'top', 'mid' (only if ply_wise = True)

  - ply_wise : True (default) or False. Decides whether to evaluate for individual plies or return the result of the finite element.

  - show_on_solids : True or False (default). Whether to show the results on the shell or solid model (if present).

  - show_ply_offsets : True or False (default). Whether to display ply-wise visualizations with ply offsets or not.

  - ply_offset_scale_factor : Scale factor for the offsets of the visualized plies if show_ply_offsets=True.

  - solution_set : Selection of the Solution Set.

  Returns

  the plot object

  Example:

    Create a strain plot with Data Scope set to Element Set "All_Elements" for 'e1' at 'mid' in ply_wise mode:

        >>> strain_plot = db.active_model.solutions['Solution.1'].plots.create_strain_plot(self, name="MyPlot", data_scope=db.active_model.element_sets['All_Elements'], component = 's1', spot = 'mid', ply_wise = True)

`create_stress_plot`(name=None, id=None, active=True, data_scope=[], component=None, spot=None, ply_wise=True, show_on_solids=False, show_ply_offsets=False, ply_offset_scale_factor=1.0, interlaminar_normal_stresses=False, solution_set=-1)

  Create a Stress 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: Element Set, Oriented Selection Set, Modeling Ply, Sampling Point

  - component : 's1', 's2', 's3', 's12', 's23', 's13', 'sI', 'sII', 'sIII'

  - spot : 'bot', 'top', 'mid' (only if ply_wise = True)

  - ply_wise : True (default) or False. Decides whether to evaluate for individual plies or return the result of the finite element.

  - show_on_solids : True or False (default). Whether to show the results on the shell or solid model (if present).

  - show_ply_offsets : True or False (default). Whether to display ply-wise visualizations with ply offsets or not.

  - ply_offset_scale_factor : Scale factor for the offsets of the visualized plies if show_ply_offsets=True.

  - solution_set : Selection of the Solution Set.

  Returns

  the plot object

  Example:

    Create a stress plot with Data Scope set to Element Set "All_Elements" for 's1' at 'mid' in ply_wise mode:

        >>> stress_plot = db.active_model.solutions['Solution.1'].plots.create_stress_plot(self, name="MyPlot", data_scope=db.active_model.element_sets['All_Elements'], component = 's1', spot = 'mid', ply_wise = True)

`create_temperature_plot`(name=None, id=None, active=True, data_scope=[], component=None, spot=None, ply_wise=False, show_on_solids=True, solution_set=-1)

  Create a Temperature 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: Element Set, Oriented Selection Set, Modeling Ply, Sampling Point

  - spot : 'bot', 'top', 'mid' (only if ply_wise = True)

  - ply_wise : True (default) or False. Decides whether to evaluate for individual plies or return the result of the finite element.

  - solution_set : Selection of the Solution Set.

  Returns

  the plot object

  Example:

    Create a temperature plot with Data Scope set to Element Set "All_Elements" with spot set to 'mid' in ply_wise mode:

        >>> temp_plot = db.active_model.solutions['Solution.1'].plots.create_temperature_plot(self, name="MyPlot", data_scope=db.active_model.element_sets['All_Elements'], spot = 'mid', ply_wise = True)

`create_user_defined_plot`(name=None, id=None, data_scope=[], user_data=[], user_text=[], user_script=None, user_script_enabled=False, show_on_solids=False, show_user_text=False, show_ply_offsets=False, ply_offset_scale_factor=1.0, add_to_active_set=True, locked=False, solution_set=-1)

  Create a User-Defined 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: Element Set, Oriented Selection Set, Modeling Ply, Sampling Point

  - show_on_solids : True or False (default). Whether to show the results on the shell or solid model (if present).

  - show_user_text : True or False (default). Whether to show the text, which the user provided.

  - show_ply_offsets : True or False (default). Whether to display ply-wise visualizations with ply offsets or not.

  - ply_offset_scale_factor : Scale factor for the offsets of the visualized plies if show_ply_offsets=True.

  - solution_set : Selection of the Solution Set.

  Returns

  the plot object

  Example:

    Create a user-defined plot with Data Scope set to Element Set "All_Elements":

        >>> u_plot = db.active_model.layup_plots.create_user_defined_plot(self, name="MyPlot", data_scope=db.active_model.element_sets['All_Elements'])

Release 18.2 - © ANSYS, Inc. All rights reserved.