ImportedModelingGroup
class compolyx.ImportedModelingGroup(graph, obj, parent=None)
Attributes
| Name | Description |
|---|---|
ImportedModelingGroup.active | Active status of object |
ImportedModelingGroup.enabled | Whether this object is currently enabled or not |
ImportedModelingGroup.id | ID of object |
ImportedModelingGroup.is_dict_item | Specifies whether the object is an item of a dict |
ImportedModelingGroup.is_list_item | Specifies whether the object is an item of a list |
ImportedModelingGroup.link_path | Root path of the current node in the tree for links to this object |
ImportedModelingGroup.name | Name of object |
ImportedModelingGroup.parent | Parent object in tree |
ImportedModelingGroup.plies | Modeling Plies of the Modeling Group |
ImportedModelingGroup.root_path | Root path of the current node in the tree |
ImportedModelingGroup.size | Number of entities |
ImportedModelingGroup.status | Status of the object |
ImportedModelingGroup.status_changed | Boolean flag which is set to true in C++ when up-to-date status of object changes |
ImportedModelingGroup.uid | UID of object |
ImportedModelingGroup.vertex | Throws an error if the object has been removed from the graph |
Methods
| Name | Description |
|---|---|
ImportedModelingGroup.add(entity) | Add entity to the set |
ImportedModelingGroup.clear() | |
ImportedModelingGroup.copy_imported_modeling_ply(source) | Copy an imported modeling ply |
ImportedModelingGroup.create_imported_modeling_ply([...]) | Create modeling ply |
ImportedModelingGroup.find_parent(type) | Function steps up the tree and returns the first parent with given type |
ImportedModelingGroup.is_imported() | |
ImportedModelingGroup.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 |
ImportedModelingGroup.remove(entity) | Remove entity from the set |
ImportedModelingGroup.serialize_name_and_id() | Helper function to serialize name and ID |
ImportedModelingGroup.sync_plies() | |
ImportedModelingGroup.update() | |
ImportedModelingGroup.visit(visitor) | Walk through the tree and let the visitor perform action on every descendant node |