class compolyx.ImportedAnalysisPly(graph, obj, parent=None)
Represents an imported modeling ply.Attributes
| Name | Description |
|---|---|
ImportedAnalysisPly.active | Active status of the object. |
ImportedAnalysisPly.active_in_post_mode | Whether ply is active in ACP Post. |
ImportedAnalysisPly.angle | Ply angle. |
ImportedAnalysisPly.enabled | Indicates whether the object is enabled. |
ImportedAnalysisPly.id | ID of the object. |
ImportedAnalysisPly.is_dict_item | Indicates whether the object is an item in a dictionary. |
ImportedAnalysisPly.is_list_item | Indicates whether the object is an item of a list. |
ImportedAnalysisPly.link_path | Root path of the current node in the tree for links to this object. |
ImportedAnalysisPly.material | Ply material. |
ImportedAnalysisPly.mesh | |
ImportedAnalysisPly.name | Name of the object. |
ImportedAnalysisPly.parent | Parent object in the tree. |
ImportedAnalysisPly.root_path | Root path of the current node in the tree. |
ImportedAnalysisPly.status | Status of the object. |
ImportedAnalysisPly.status_changed | Boolean flag which is set to true in C++ when up-to-date status of object changes. |
ImportedAnalysisPly.thickness | Average ply thickness. |
ImportedAnalysisPly.uid | UID of the object. |
ImportedAnalysisPly.vertex | Raises an error if the object has been removed from the graph. |
Methods
| Name | Description |
|---|---|
ImportedAnalysisPly.find_parent(type) | Steps up the tree and returns the first parent with given type. |
ImportedAnalysisPly.is_reinforcing() | True if the analysis ply is a reinforcing ply. |
ImportedAnalysisPly.obj_exists() | Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph. |
ImportedAnalysisPly.serialize_name_and_id() | Serializes the name and ID. |
ImportedAnalysisPly.update() | |
ImportedAnalysisPly.visit(visitor) | Walk through the tree and let the visitor perform action on every descendant node. |