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

# SnapToGeometry

### *class* compolyx.SnapToGeometry(obj, parent)

SnapToGeometry guide class

### Attributes

| Name | Description |
| - | - |
| [`SnapToGeometry.active`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.active) | Snap-To Geometry active |
| [`SnapToGeometry.cad_geometry`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.cad_geometry) | Associated Geometry |
| [`SnapToGeometry.elements`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.elements) | List of affected shell elements |
| [`SnapToGeometry.enabled`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.enabled) | Whether this object is currently enabled or not |
| [`SnapToGeometry.id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.id) | ID of object |
| [`SnapToGeometry.is_dict_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.is_dict_item) | Specifies whether the object is an item of a dict |
| [`SnapToGeometry.is_list_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.is_list_item) | Specifies whether the object is an item of a list |
| [`SnapToGeometry.link_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.link_path) | Root path of the current node in the tree for links to this object |
| [`SnapToGeometry.name`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.name) | Name of object |
| [`SnapToGeometry.orientation`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.orientation) | Orientation |
| [`SnapToGeometry.oriented_selection_set`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.oriented_selection_set) | |
| [`SnapToGeometry.parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.parent) | Parent object in tree |
| [`SnapToGeometry.root_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.root_path) | Root path of the current node in the tree |
| [`SnapToGeometry.status`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.status) | Status of the object |
| [`SnapToGeometry.status_changed`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.status_changed) | Boolean flag which is set to true in C++ when up-to-date status of object changes |
| [`SnapToGeometry.uid`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.uid) | UID of object |
| [`SnapToGeometry.vertex`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.SnapToGeometry.vertex) | This will throw an error if the object has been removed from the graph |

### Methods

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