Skip to main content
Version: 2026R2

ImportedModelingGroup

class compolyx.ImportedModelingGroup(graph, obj, parent=None)

Attributes

NameDescription
ImportedModelingGroup.activeActive status of object
ImportedModelingGroup.enabledWhether this object is currently enabled or not
ImportedModelingGroup.idID of object
ImportedModelingGroup.is_dict_itemSpecifies whether the object is an item of a dict
ImportedModelingGroup.is_list_itemSpecifies whether the object is an item of a list
ImportedModelingGroup.link_pathRoot path of the current node in the tree for links to this object
ImportedModelingGroup.nameName of object
ImportedModelingGroup.parentParent object in tree
ImportedModelingGroup.pliesModeling Plies of the Modeling Group
ImportedModelingGroup.root_pathRoot path of the current node in the tree
ImportedModelingGroup.sizeNumber of entities
ImportedModelingGroup.statusStatus of the object
ImportedModelingGroup.status_changedBoolean flag which is set to true in C++ when up-to-date status of object changes
ImportedModelingGroup.uidUID of object
ImportedModelingGroup.vertexThrows an error if the object has been removed from the graph

Methods

NameDescription
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