    

 ## On this page

  

 

 # create\_snap\_to\_geometry\_obj

 Last update: 16.07.2026 

<a id="compolyx.SolidModel.create_snap_to_geometry_obj"></a>

## SolidModel.create\_snap\_to\_geometry\_obj(name, cad\_geometry=None, oriented\_selection\_set=None, orientation='top', active=True, id='')

Create a new snap-to-geometry object.

### Parameters

- name: The name of the object.
- id: The ID of the object.
- active: Pass the active-flag of the object.
- cad\_geometry: A geometry to snap to.
- oriented\_selection\_set: Oriented element set where this snap to applies.
- orientation: Valid options: “top” and “bottom”.