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