class compolyx.plot_data.PlotData(graph, obj, parent=None)
Attributes
| Name | Description |
|---|---|
PlotData.active | Whether the plot is active or not; an inactive plot is not updated and it does not contain data. |
PlotData.active_display_data | Returns a dictionary containing display data for this plot owned by the active scene. |
PlotData.all_display_data | Returns a list of all display data classes in existence for this object. |
PlotData.changed | Status boolean. |
PlotData.component | The requested result component for a specific plot, for example s1 for the stress in the 1-direction. |
PlotData.components | Return the possible component set on this plot type. |
PlotData.data_scope | Data scope of the plot where results will be evaluated. |
PlotData.definition_id | |
PlotData.description_changed | Status boolean. |
PlotData.enabled | Indicates whether the object is enabled. |
PlotData.eval_position | The finite element position at which the results are given, for example centroid or nodal. |
PlotData.has_element_wise | Whether the plot offers element-wise data. |
PlotData.has_ply_wise | Whether the plot offers ply-wise data. |
PlotData.id | ID of the object. |
PlotData.is_dict_item | Indicates whether the object is an item in a dictionary. |
PlotData.is_list_item | Indicates whether the object is an item of a list. |
PlotData.link_path | Root path of the current node in the tree for links to this object. |
PlotData.locked | Returns the locked status of the plot. |
PlotData.name | Name of the object. |
PlotData.parent | Parent object in the tree. |
PlotData.ply_wise | Whether to plot ply-wise or element-wise. |
PlotData.requires_solution | |
PlotData.root_path | Root path of the current node in the tree. |
PlotData.scope_entire_model | Whether the plot scope is the entire model or a subset defined by the data_scope. |
PlotData.show_on_solids | Whether to plot results on solid or shell elements. |
PlotData.solution | Solution underlying the plot. |
PlotData.solution_set | Solution Set selection. |
PlotData.spot | Whether to plot data at bot, mid or top of the layer or laminate. |
PlotData.spots | Return the possible spot set on this plot type. |
PlotData.status | Status of the object. |
PlotData.status_changed | Boolean flag which is set to true in C++ when up-to-date status of object changes. |
PlotData.uid | UID of the object. |
PlotData.updated | Status boolean. |
PlotData.uptodate | Whether the plot is uptodate. |
PlotData.vertex | Raises an error if the object has been removed from the graph. |
Methods
| Name | Description |
|---|---|
PlotData.add_data_scope_entity(entity) | Add 1 entity to the Data Scope of a plot. |
PlotData.clear_data_scope() | Clears the complete data scope of a plot, that is all scope entities are removed at once. |
PlotData.display_data_create([parent]) | Function for internal use, not meant for scripting. |
PlotData.find_parent(type) | Steps up the tree and returns the first parent with given type. |
PlotData.get_data([visible, selected]) | Get data of plot. |
PlotData.get_deformations([visible, selected]) | Function used internally to query matching nodal deformations for a given plot. |
PlotData.get_element_indices([visible, selected]) | Get element indices (ACP internal element numbers starting from 0) of plot. |
PlotData.get_element_labels([visible, selected]) | Get element labels (element numbers as read from / written to mesh files) of plot. |
PlotData.get_full_description() | This function returns information displayed together with the legend. |
PlotData.obj_exists() | Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph. |
PlotData.remove_data_scope_entity(entity) | Remove 1 entity to the Data Scope of a plot. |
PlotData.serialize() | Serialize to Python string. |
PlotData.serialize_create_function() | |
PlotData.serialize_name_and_id() | Serializes the name and ID. |
PlotData.serialize_properties() | Serialize to Python string. |
PlotData.serialize_python_only_attributes() | |
PlotData.update() | |
PlotData.visit(visitor) | Walk through the tree and let the visitor perform action on every descendant node. |