Skip to main content

ACP in-app scripting API 2026 R1

AnalysisPly

Last update: 16.07.2026

class compolyx.AnalysisPly(graph, obj, parent=None)

Represents an analysis ply.

Attributes

Name Description
AnalysisPly.active Indicates whether the sequence entity is active.
AnalysisPly.active_in_post_mode True if failure criteria are processed for this ply.
AnalysisPly.angle Angle of the analysis ply.
AnalysisPly.draping_obj Fiber directions of the analysis ply.
AnalysisPly.enabled Indicates whether the object is enabled.
AnalysisPly.id ID of the object.
AnalysisPly.is_dict_item Indicates whether the object is an item in a dictionary.
AnalysisPly.is_list_item Indicates whether the object is an item in a list.
AnalysisPly.link_path Root path of the current node in the tree for links to this object.
AnalysisPly.material Material assigned to the analysis ply.
AnalysisPly.mesh Mesh associated with the ply.
AnalysisPly.name Name of the object.
AnalysisPly.parent Parent object in the tree.
AnalysisPly.ply_material Ply material of the analysis ply.
AnalysisPly.root_path Root path of the current node.
AnalysisPly.status Status of the object.
AnalysisPly.status_changed True (boolean) in C++ when the object’s status changes.
AnalysisPly.thickness Thickness of the analysis ply.
AnalysisPly.uid UID of the object.
AnalysisPly.vertex Raises an error if the object has been removed from the graph.

Methods

Name Description
AnalysisPly.boundaries([offset_type]) Boundary information for the ply.
AnalysisPly.direction_arrows([arrow_length, ...]) Direction arrows of the ply.
AnalysisPly.find_parent(type) Steps up the tree and returns the first parent of the given type.
AnalysisPly.get_short_description() Returns a short description.
AnalysisPly.is_reinforcing() True (boolean) if this is a reinforcing ply.
AnalysisPly.obj_exists() True (boolean) if __obj references the C++ object (has not been reset to None by self._delete) and still exists in the graph.
AnalysisPly.serialize() Serializes the object.
AnalysisPly.serialize_name_and_id() Serializes the name and ID.
AnalysisPly.update() Updates the analysis ply.
AnalysisPly.visit(visitor) Walk through the tree and applies the visitor to every descendant node.
AnalysisPly.write_boundaries(filename[, ...]) Writes boundaries in IGES/STEP format.

Connect with Ansys