List of Snap Flags

One or more of the following values:

  • SNAP_IN_3D - Snap to all points.
  • SNAP_IN_PLANE - Snap only to points on the construction (or optionally specified) plane.
  • SNAP_UNSEL_OBJS_ONLY - Ignore selected nodes when considering snap points.
  • SNAP_SEL_OBJS_ONLY - Ignore unselected nodes when considering snap points.
  • SNAP_UNSEL_SUBOBJ_ONLY - Ignore selected sub-object geometry when considering snap points.
  • SNAP_SEL_SUBOBJ_ONLY - Ignore unselected sub-object geometry when considering snap points.
  • SNAP_FORCE_3D_RESULT - Override user settings to force snap in 3D.
  • SNAP_OFF_PLANE - This is used internally to snap only to points off the plane. Many of the objects call GetCPDisp() when they want to snap lenghts etc. This method knew nothing about the snapping that was added in 3ds Max 2.0 so it had to be retrofited to call SnapPoint(). This is where SNAP_OFF_PLANE is called. It forces the osnapmanager to only consider points which are OFF the current construction plane.
  • SNAP_TRANSPARENTLY - This is used internally to suppresses any display in the viewports. This can be used to provide a way of snapping to arbitray screen points without giving feedback.
  • SNAP_APPLY_CONSTRAINTS - This is used internally to suppresses any display in the viewports.
  • SNAP_PROJ_XAXIS - This is used internally to suppresses any display in the viewports.
  • SNAP_PROJ_YAXIS - This is used internally to suppresses any display in the viewports.
  • SNAP_PROJ_ZAXIS - This is used internally to suppresses any display in the viewports.

See Also