Skip to main content

ACP scripting interface 2025 R2

ThicknessData

Last update: 16.07.2025

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

Attributes

Name Description
ThicknessData.active Whether the plot is active or not; an inactive plot is not updated and it does not contain data
ThicknessData.active_display_data Returns a dictionary containing display data for this plot owned by the active scene
ThicknessData.all_display_data Returns a list of all display data classes in existence for this object
ThicknessData.changed Status boolean
ThicknessData.color_table
ThicknessData.component The requested result component for a specific plot, e.g. s1 for the stress in the 1-direction
ThicknessData.components Return the possible component set on this plot type
ThicknessData.data_scope Data scope of the plot where results will be evaluated
ThicknessData.definition_id
ThicknessData.description_changed Status boolean.
ThicknessData.enabled Whether this object is currently enabled or not
ThicknessData.eval_position The finite element position at which the results are given, e.g. centroid or nodal
ThicknessData.has_element_wise Whether the plot offers element-wise data
ThicknessData.has_ply_wise Whether the plot offers ply-wise data.
ThicknessData.id ID of object
ThicknessData.is_dict_item Specifies whether the object is an item of a dict
ThicknessData.is_list_item Specifies whether the object is an item of a list
ThicknessData.link_path Root path of the current node in the tree for links to this object
ThicknessData.locked Returns the locked status of the plot
ThicknessData.minmax Min and max value of current data
ThicknessData.minmax_last_query Min and max value of data of last query
ThicknessData.name Name of object
ThicknessData.parent Parent object in tree
ThicknessData.ply_offset_scale_factor Offset scale factor
ThicknessData.ply_wise Whether to plot ply-wise or element-wise
ThicknessData.requires_solution
ThicknessData.root_path Root path of the current node in the tree
ThicknessData.scope_entire_model Whether the plot scope is the entire model or a subset defined by the data_scope
ThicknessData.show_on_solids Whether to plot results on solid or shell elements
ThicknessData.show_ply_offsets
ThicknessData.solution Solution underlying the plot
ThicknessData.solution_set Solution Set selection
ThicknessData.spot Not applicable to a thickness plot
ThicknessData.spots Return the possible spot set on this plot type
ThicknessData.status Status of the object
ThicknessData.status_changed Boolean flag which is set to true in C++ when up-to-date status of object changes
ThicknessData.uid UID of object
ThicknessData.updated Status boolean
ThicknessData.uptodate Whether the plot is up-to-date
ThicknessData.vertex This will throw an error if the object has been removed from the graph

Methods

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

Connect with Ansys