Skip to main content
Version: 2026R2

DrapingData

class compolyx.plot_data.DrapingData(graph, obj, parent=None)

Attributes

NameDescription
DrapingData.activeWhether the plot is active or not; an inactive plot is not updated and it does not contain data
DrapingData.active_display_dataReturns a dictionary containing display data for this plot owned by the active scene
DrapingData.all_display_dataReturns a list of all display data classes in existence for this object
DrapingData.changedStatus boolean
DrapingData.color_table
DrapingData.componentThe requested result component for a specific plot, e.g. s1 for the stress in the 1-direction
DrapingData.componentsReturn the possible component set on this plot type
DrapingData.data_scopeData scope of the plot where results will be evaluated
DrapingData.definition_id
DrapingData.description_changedStatus boolean
DrapingData.enabledWhether this object is currently enabled or not
DrapingData.eval_positionThe finite element position at which the results are given, e.g. centroid or nodal
DrapingData.has_element_wiseWhether the plot offers element-wise data
DrapingData.has_ply_wiseWhether the plot offers ply-wise data
DrapingData.idID of object
DrapingData.is_dict_itemSpecifies whether the object is an item of a dict
DrapingData.is_list_itemSpecifies whether the object is an item of a list
DrapingData.link_pathRoot path of the current node in the tree for links to this object
DrapingData.lockedReturns the locked status of the plot
DrapingData.nameName of object
DrapingData.parentParent object in tree
DrapingData.ply_wiseWhether to plot ply-wise or element-wise
DrapingData.requires_solution
DrapingData.root_pathRoot path of the current node in the tree
DrapingData.scope_entire_modelWhether the plot scope is the entire model or a subset defined by the data_scope
DrapingData.show_draping_meshWhether to plot the draping mesh
DrapingData.show_flatwrapWhether to plot the flatwrap
DrapingData.show_on_solidsWhether to plot results on solid or shell elements
DrapingData.solutionSolution underlying the plot
DrapingData.solution_setSolution Set selection
DrapingData.spotWhether to plot data at bot, mid, or top of the layer or laminate
DrapingData.spotsReturn the possible spot set on this plot type
DrapingData.statusStatus of the object
DrapingData.status_changedBoolean flag which is set to true in C++ when up-to-date status of object changes
DrapingData.uidUID of object
DrapingData.updatedStatus boolean
DrapingData.uptodateWhether the plot is uptodate
DrapingData.vertexThis will throw an error if the object has been removed from the graph

Methods

NameDescription
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