class compolyx.ImportedAnalysisPly(graph, obj, parent=None)
Class to represent an imported modeling ply.Attributes
| Name | Description |
|---|---|
ImportedAnalysisPly.active | Active status of object |
ImportedAnalysisPly.active_in_post_mode | Whether ply is active in ACP Post |
ImportedAnalysisPly.angle | Ply Angle |
ImportedAnalysisPly.enabled | Whether this object is currently enabled or not |
ImportedAnalysisPly.id | ID of object |
ImportedAnalysisPly.is_dict_item | Specifies whether the object is an item of a dict |
ImportedAnalysisPly.is_list_item | Specifies 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 object |
ImportedAnalysisPly.parent | Parent object in 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 object |
ImportedAnalysisPly.vertex | Throws 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 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 |