create_snap_to_geometry#
- SolidModel.create_snap_to_geometry(*, name='SnapToGeometry', active=True, orientation_type='top', cad_geometry=None, oriented_selection_set=None)#
Instantiate a snap-to geometry.
- Parameters:
name (str) – Name of the snap-to geometry.
active (bool) – Inactive snap-to geometries are not used in the solid model extrusion.
orientation_type (SnapToGeometryOrientationType) – Determines whether the snap-to geometry is applied to the top or bottom surface of the layup.
cad_geometry (VirtualGeometry | None) – The geometry to snap to.
oriented_selection_set (OrientedSelectionSet | None) – Defines the extent over which the snap-to geometry is applied. The normal of the oriented selection set is used to determine the top and bottom surfaces of the layup.
- Return type:
Added in ACP server version 25.1.