Skip to main content

ACP scripting interface 2025 R2

AngleData

Last update: 16.07.2025

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

Attributes

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

Methods

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

Connect with Ansys