class compolyx.ButtJointSequence(graph, obj, parent=None)
Class to represent the butt-joint sequence.Attributes
| Name | Description |
|---|---|
ButtJointSequence.active | Sequence Entity is active |
ButtJointSequence.enabled | Whether this object is currently enabled or not |
ButtJointSequence.global_ply_nr | |
ButtJointSequence.id | ID of object |
ButtJointSequence.is_dict_item | Specifies whether the object is an item of a dict |
ButtJointSequence.is_list_item | Specifies whether the object is an item of a list |
ButtJointSequence.link_path | Root path of the current node in the tree for links to this object |
ButtJointSequence.name | Name of object |
ButtJointSequence.parent | Parent object in tree |
ButtJointSequence.primary_plies | Primary plies of the butt joint squence |
ButtJointSequence.root_path | Root path of the current node in the tree |
ButtJointSequence.secondary_plies | Secondary plies of the butt joint squence |
ButtJointSequence.status | Status of the object |
ButtJointSequence.status_changed | Boolean flag which is set to true in C++ when up-to-date status of object changes |
ButtJointSequence.uid | UID of object |
ButtJointSequence.vertex | Throws an error if the object has been removed from the graph |
Methods
| Name | Description |
|---|---|
ButtJointSequence.find_parent(type) | Steps up the tree and returns the first parent with given type |
ButtJointSequence.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 |
ButtJointSequence.serialize() | Serialize to Python string |
ButtJointSequence.serialize_name_and_id() | Helper function to serialize name and ID |
ButtJointSequence.update() | |
ButtJointSequence.visit(visitor) | Walk through the tree and let the visitor perform an action on every descendant node |