Skip to main content
Version: 2026R1

AnalysisPly

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

ComPoLyX class to represent analysis ply.

Attributes

NameDescription
AnalysisPly.activeSequence entity is active
AnalysisPly.active_in_post_modeTrue if failure criteria will be processed for this ply
AnalysisPly.anglePly Angle of the analysis ply
AnalysisPly.draping_objGet the fiber directions of the analysis ply
AnalysisPly.enabledWhether this object is currently enabled or not
AnalysisPly.idID of object
AnalysisPly.is_dict_itemSpecifies whether the object is an item of a dict
AnalysisPly.is_list_itemSpecifies whether the object is an item of a list
AnalysisPly.link_pathRoot path of the current node in the tree for links to this object
AnalysisPly.materialPly material of the analysis ply
AnalysisPly.meshMesh
AnalysisPly.nameName of object
AnalysisPly.parentParent object in tree
AnalysisPly.ply_materialPly material of the analysis ply
AnalysisPly.root_pathRoot path of the current node in the tree
AnalysisPly.statusStatus of the object
AnalysisPly.status_changedBoolean flag which is set to true in C++ when up-to-date status of object changes
AnalysisPly.thicknessThickness of the analysis ply
AnalysisPly.uidUID of object
AnalysisPly.vertexThrows an error if the object has been removed from the graph

Methods

NameDescription
AnalysisPly.boundaries([offset_type])
AnalysisPly.direction_arrows([arrow_length, ...])Direction arrows of the ply
AnalysisPly.find_parent(type)Steps up the tree and returns the first parent with given type
AnalysisPly.get_short_description()
AnalysisPly.is_reinforcing()True if the AnalysisPly is a reinforcing ply
AnalysisPly.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
AnalysisPly.serialize()
AnalysisPly.serialize_name_and_id()Helper function to serialize name and ID
AnalysisPly.update()Update the analysis ply
AnalysisPly.visit(visitor)Walk through the tree and let the visitor perform an action on every descendant node
AnalysisPly.write_boundaries(filename[, ...])Write boundaries in .iges/.step format