> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CADGeometry

### *class* compolyx.CADGeometry(graph, obj, visible\_sub\_shapes=None, parent=None)

### Attributes

| Name | Description |
| - | - |
| [`CADGeometry.active`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.active) | Active status of the object. |
| [`CADGeometry.cad_compounds`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.cad_compounds) | Dictionary with all compounds in the CAD Geometry. |
| [`CADGeometry.cad_faces`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.cad_faces) | Dictionary with all face shapes. |
| [`CADGeometry.cad_solids`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.cad_solids) | Dictionary with all solid shapes. |
| [`CADGeometry.cad_surfaces`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.cad_surfaces) | Dictionary with all shell shapes. |
| [`CADGeometry.changed`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.changed) | Status boolean. |
| [`CADGeometry.display_data`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.display_data) | CAD geometry mesh surface plot. |
| [`CADGeometry.element_to_face_map`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.element_to_face_map) | |
| [`CADGeometry.enabled`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.enabled) | Indicates whether the object is enabled. |
| [`CADGeometry.ext_id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.ext_id) | External ID of the CAD Geometry object. |
| [`CADGeometry.id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.id) | ID of the object. |
| [`CADGeometry.is_dict_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.is_dict_item) | Indicates whether the object is an item in a dictionary. |
| [`CADGeometry.is_list_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.is_list_item) | Indicates whether the object is an item of a list. |
| [`CADGeometry.link_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.link_path) | Root path of the current node in the tree for links to this object. |
| [`CADGeometry.locked`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.locked) | CAD geometry is generated from an imported geometry and cannot be changed. |
| [`CADGeometry.name`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.name) | Name of the object. |
| [`CADGeometry.normals_display_data`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.normals_display_data) | CAD geometry normals visualization. |
| [`CADGeometry.offset`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.offset) | Offset value used to analyze the surface's coverage regarding the mesh. |
| [`CADGeometry.parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.parent) | Parent object in the tree. |
| [`CADGeometry.path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.path) | The file path where the CAD geometry is loaded from. |
| [`CADGeometry.precision`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.precision) | Precision of geometrical operations (intersection points, thickness sampling, ...). |
| [`CADGeometry.root_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.root_path) | Root path of the current node in the tree. |
| [`CADGeometry.root_shapes`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.root_shapes) | Dictionary with all free shapes of the CAD Geometry. |
| [`CADGeometry.scale_factor`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.scale_factor) | Geometry is scaled with this factor. |
| [`CADGeometry.shape_type`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.shape_type) | Topological type of the shape. |
| [`CADGeometry.show_normals`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.show_normals) | Visibility of Face Normals. |
| [`CADGeometry.status`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.status) | Status of the object. |
| [`CADGeometry.status_changed`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.status_changed) | Boolean flag which is set to true in C++ when up-to-date status of object changes. |
| [`CADGeometry.sub_shape_selection_display_data`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.sub_shape_selection_display_data) | CAD face selection plot. |
| [`CADGeometry.sub_shapes`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.sub_shapes) | Sub faces of the CAD Geometry. |
| [`CADGeometry.uid`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.uid) | UID of the object. |
| [`CADGeometry.use_default_offset`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.use_default_offset) | Whether to use the default value or not. |
| [`CADGeometry.use_default_precision`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.use_default_precision) | Whether to use default precision value or not. |
| [`CADGeometry.vertex`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.vertex) | Raises an error if the object has been removed from the graph. |
| [`CADGeometry.visible_sub_shapes`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.visible_sub_shapes) | IDs of CAD sub shapes to be displayed, stored per-scene id. |
| [`CADGeometry.visualization_mesh`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.visualization_mesh) | Visualization mesh of this geometry. |

### Methods

| Name | Description |
| - | - |
| [`CADGeometry.add_visible_sub_shapes`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.add_visible_sub_shapes)(...) | |
| [`CADGeometry.added_to_active_set`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.added_to_active_set)(scene) | |
| [`CADGeometry.clear_visible_sub_shapes`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.clear_visible_sub_shapes)(scene) | |
| [`CADGeometry.find_parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.find_parent)(type) | Steps up the tree and returns the first parent with given type. |
| [`CADGeometry.get_face_ids_from_sub_shapes`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.get_face_ids_from_sub_shapes)(...) | |
| [`CADGeometry.get_faces_from_sub_shapes`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.get_faces_from_sub_shapes)(sub\_shapes) | |
| [`CADGeometry.get_short_description`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.get_short_description)() | |
| [`CADGeometry.obj_exists`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.obj_exists)() | Checks if \_\_obj still references the c++ object (has not been reset to None by self.\_delete) and exists in the graph. |
| [`CADGeometry.refresh_external_source`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.refresh_external_source)(\[enforce]) | Reload the geometry from the external source. |
| [`CADGeometry.remove_visible_sub_shapes`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.remove_visible_sub_shapes)(...) | |
| [`CADGeometry.removed_from_active_set`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.removed_from_active_set)(scene) | |
| [`CADGeometry.save_as`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.save_as)(path) | Save the initial geometry file to the specified path. |
| [`CADGeometry.serialize`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.serialize)() | |
| [`CADGeometry.serialize_name_and_id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.serialize_name_and_id)() | Serializes the name and ID. |
| [`CADGeometry.update`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.update)() | |
| [`CADGeometry.visit`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.visit)(visitor) | Walk through the tree and let the visitor perform action on every descendant node. |
| [`CADGeometry.visualization_normals`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.CADGeometry.visualization_normals)(faces) | |
