Skip to main content
Version: 2026R1

create_snap_to_geometry_obj

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