Skip to main content
Version: Next

ImportedAnalysisPly

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

Class to represent an imported modeling ply.

Attributes

NameDescription
ImportedAnalysisPly.activeActive status of object
ImportedAnalysisPly.active_in_post_modeWhether ply is active in ACP Post
ImportedAnalysisPly.anglePly Angle
ImportedAnalysisPly.enabledWhether this object is currently enabled or not
ImportedAnalysisPly.idID of object
ImportedAnalysisPly.is_dict_itemSpecifies whether the object is an item of a dict
ImportedAnalysisPly.is_list_itemSpecifies whether the object is an item of a list
ImportedAnalysisPly.link_pathRoot path of the current node in the tree for links to this object
ImportedAnalysisPly.materialPly material
ImportedAnalysisPly.mesh
ImportedAnalysisPly.nameName of object
ImportedAnalysisPly.parentParent object in tree
ImportedAnalysisPly.root_pathRoot path of the current node in the tree
ImportedAnalysisPly.statusStatus of the object
ImportedAnalysisPly.status_changedBoolean flag which is set to true in C++ when up-to-date status of object changes.
ImportedAnalysisPly.thicknessAverage ply thickness
ImportedAnalysisPly.uidUID of object
ImportedAnalysisPly.vertexThrows an error if the object has been removed from the graph

Methods

NameDescription
ImportedAnalysisPly.find_parent(type)Steps up the tree and returns the first parent with given type
ImportedAnalysisPly.is_reinforcing()True if the AnalysisPly is a reinforcing ply
ImportedAnalysisPly.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
ImportedAnalysisPly.serialize_name_and_id()Helper function to serialize name and ID
ImportedAnalysisPly.update()
ImportedAnalysisPly.visit(visitor)Walk through the tree and let the visitor perform action on every descendant node