SolidElementSet
Last update: 16.07.2026class compolyx.SolidElementSet(graph, obj=None, parent=None)
Solid element set class Element set of a solid model
Attributes
| Name | Description |
|---|---|
SolidElementSet.active |
Active status of the object. |
SolidElementSet.element_labels |
List of solid elements which are linked to this element set. |
SolidElementSet.enabled |
Indicates whether the object is enabled. |
SolidElementSet.id |
ID of the object. |
SolidElementSet.is_dict_item |
Indicates whether the object is an item in a dictionary. |
SolidElementSet.is_list_item |
Indicates whether the object is an item of a list. |
SolidElementSet.link_path |
Root path of the current node in the tree for links to this object. |
SolidElementSet.locked |
Returns true if the object is locked (not editable or deletable). |
SolidElementSet.name |
Name of the object. |
SolidElementSet.parent |
Parent object in the tree. |
SolidElementSet.root_path |
Root path of the current node in the tree. |
SolidElementSet.size |
Number of entities. |
SolidElementSet.status |
Status of the object. |
SolidElementSet.status_changed |
Boolean flag which is set to true in C++ when up-to-date status of object changes. |
SolidElementSet.uid |
UID of the object. |
SolidElementSet.vertex |
Raises an error if the object has been removed from the graph. |
Methods
| Name | Description |
|---|---|
SolidElementSet.find_parent(type) |
Steps up the tree and returns the first parent with given type. |
SolidElementSet.get_short_description() |
|
SolidElementSet.obj_exists() |
Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph. |
SolidElementSet.serialize() |
Serialize to Python string. |
SolidElementSet.serialize_name_and_id() |
Serializes the name and ID. |
SolidElementSet.update() |
|
SolidElementSet.visit(visitor) |
Walk through the tree and let the visitor perform action on every descendant node. |