class compolyx.ImportedProductionPly(graph, obj, parent=None)
Attributes
| Name | Description |
|---|---|
ImportedProductionPly.active | Active status of object |
ImportedProductionPly.analysis_plies | Analysis Plies of the Production Ply |
ImportedProductionPly.angle | Ply Angle of the Production Ply |
ImportedProductionPly.enabled | Whether this object is currently enabled or not |
ImportedProductionPly.id | ID of object |
ImportedProductionPly.is_dict_item | Specifies whether the object is an item of a dict |
ImportedProductionPly.is_list_item | Specifies whether the object is an item of a list |
ImportedProductionPly.link_path | Root path of the current node in the tree for links to this object |
ImportedProductionPly.mesh | |
ImportedProductionPly.name | Name of object |
ImportedProductionPly.parent | Parent object in tree |
ImportedProductionPly.ply_material | Ply Material of the Production Ply |
ImportedProductionPly.root_path | Root path of the current node in the tree |
ImportedProductionPly.status | Status of the object |
ImportedProductionPly.status_changed | Boolean flag which is set to true in C++ when up-to-date status of object changes. |
ImportedProductionPly.thickness | Thickness of the Production Ply |
ImportedProductionPly.uid | UID of object |
ImportedProductionPly.vertex | Throws an error if the object has been removed from the graph |
Methods
| Name | Description |
|---|---|
ImportedProductionPly.find_parent(type) | Steps up the tree and returns the first parent with given type |
ImportedProductionPly.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 |
ImportedProductionPly.serialize_name_and_id() | Helper function to serialize name and ID |
ImportedProductionPly.update() | |
ImportedProductionPly.visit(visitor) | Walk through the tree and let the visitor perform action on every descendant node |