Skip to main content
Version: 2026R1

LayupMappingData

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

Attributes

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

Methods

NameDescription
LayupMappingData.add_data_scope_entity(entity)Add 1 entity to the Data Scope of a plot
LayupMappingData.clear_data_scope()Cleares the complete data scope of a plot, i.e. all scope entities are removed at once
LayupMappingData.display_data_create([parent])Function for internal use, not meant for scripting
LayupMappingData.find_parent(type)Function steps up the tree and returns the first parent with given type
LayupMappingData.get_data([visible, selected])Get data of plot
LayupMappingData.get_deformations([visible, ...])Function used internally to query matching nodal deformations for a given plot.
LayupMappingData.get_element_indices([...])Get element indices (ACP internal element numbers starting from 0) of plot
LayupMappingData.get_element_labels([...])Get element labels (element numbers as read from / written to mesh files) of plot
LayupMappingData.get_full_description()This function returns information displayed together with the legend
LayupMappingData.get_ply_offsets([visible, ...])Get the offset between plies and reference surface
LayupMappingData.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
LayupMappingData.remove_data_scope_entity(entity)Remove 1 entity to the Data Scope of a plot
LayupMappingData.serialize()Serialize to Python string
LayupMappingData.serialize_create_function()
LayupMappingData.serialize_name_and_id()Helper function to serialize name and ID
LayupMappingData.serialize_properties()Serialize to Python string
LayupMappingData.serialize_python_only_attributes()
LayupMappingData.update()
LayupMappingData.visit(visitor)Walk through the tree and let the visitor perform action on every descendant node