CADFace
Last update: 16.07.2026class compolyx.CADFace(graph, obj, parent=None)
Represents a CADFace.
Attributes
| Name | Description |
|---|---|
CADFace.active |
Active status of the object. |
CADFace.enabled |
Indicates whether the object is enabled. |
CADFace.id |
ID of the object. |
CADFace.is_dict_item |
Indicates whether the object is an item in a dictionary. |
CADFace.is_free |
Boolean that indicates whether the shape is free.. |
CADFace.is_list_item |
Indicates whether the object is an item of a list. |
CADFace.link_path |
Root path of the current node in the tree for links to this object. |
CADFace.locked |
Locked status of the CAD Component. |
CADFace.map_index |
Map index of the shape. |
CADFace.name |
Name of the object. |
CADFace.parent |
Parent object in the tree. |
CADFace.path |
Returns the topology path of the CAD component. |
CADFace.root_path |
Root path of the current node in the tree. |
CADFace.status |
Status of the object. |
CADFace.status_changed |
Boolean flag which is set to true in C++ when up-to-date status of object changes. |
CADFace.uid |
UID of the object. |
CADFace.vertex |
Raises an error if the object has been removed from the graph. |
Methods
| Name | Description |
|---|---|
CADFace.find_parent(type) |
Steps up the tree and returns the first parent with given type. |
CADFace.get_short_description() |
|
CADFace.obj_exists() |
Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph. |
CADFace.serialize_name_and_id() |
Serializes the name and ID. |
CADFace.update() |
Update the CAD component. |
CADFace.visit(visitor) |
Walk through the tree and let the visitor perform action on every descendant node. |