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