class compolyx.ImportedModelingGroup(graph, obj, parent=None)
Attributes
| Name | Description |
|---|---|
ImportedModelingGroup.active | Active status of the object. |
ImportedModelingGroup.enabled | Indicates whether the object is enabled. |
ImportedModelingGroup.id | ID of the object. |
ImportedModelingGroup.is_dict_item | Indicates whether the object is an item in a dictionary. |
ImportedModelingGroup.is_list_item | Indicates 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 the object. |
ImportedModelingGroup.parent | Parent object in the 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 the object. |
ImportedModelingGroup.vertex | Raises 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) | 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 (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() | Serializes the 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. |