> ## 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.

# CADReference

### *class* compolyx.CADReference(graph, obj, parent=None)

ComPoLyX Class to represent CAD Reference.

### Attributes

| Name | Description |
| - | - |
| [`CADReference.active`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.active) | Active status of object |
| [`CADReference.bounding_box_max`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.bounding_box_max) | Maximum of the bounding box |
| [`CADReference.bounding_box_min`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.bounding_box_min) | Minimum of the bounding box |
| [`CADReference.cog`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.cog) | Center of gravity of the linked shape |
| [`CADReference.dimension`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.dimension) | Dimension of the linked shape (1 for lines, 2 for surfaces and 3 for solids) |
| [`CADReference.enabled`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.enabled) | Whether this object is currently enabled or not |
| [`CADReference.id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.id) | ID of object |
| [`CADReference.is_dict_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.is_dict_item) | Specifies whether the object is an item of a dict |
| [`CADReference.is_list_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.is_list_item) | Specifies whether the object is an item of a list |
| [`CADReference.link_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.link_path) | Root path of the current node in the tree for links to this object |
| [`CADReference.name`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.name) | Name of object |
| [`CADReference.parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.parent) | Parent object in tree |
| [`CADReference.path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.path) | Path to the linked CAD component |
| [`CADReference.root_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.root_path) | Root path of the current node in the tree |
| [`CADReference.size`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.size) | Size of the linked cad shape |
| [`CADReference.status`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.status) | Status of the CADReference |
| [`CADReference.status_changed`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.status_changed) | Boolean flag which is set to true in C++ when up-to-date status of object changes |
| [`CADReference.uid`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.uid) | UID of object |
| [`CADReference.vertex`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.vertex) | Throws an error if the object has been removed from the graph |

### Methods

| Name | Description |
| - | - |
| [`CADReference.find_parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.find_parent)(type) | Steps up the tree and returns the first parent with given type |
| [`CADReference.get_short_description`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.get_short_description)() | |
| [`CADReference.obj_exists`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.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 |
| [`CADReference.serialize`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.serialize)() | |
| [`CADReference.serialize_name_and_id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.serialize_name_and_id)() | Helper function to serialize name and ID |
| [`CADReference.update`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.update)() | |
| [`CADReference.visit`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.CADReference.visit)(visitor) | Walk through the tree and let the visitor perform an action on every descendant node |
