siSnapType
 
 
 

siSnapType

Introduced

v2012(10)

Description

ToolContext snapping type flags.

C# Syntax

siSnapType.siSnapNone                                                       // 0
siSnapType.siSnapPoint                                                      // 1
siSnapType.siSnapKnot                                                       // 2
siSnapType.siSnapCenter                                                     // 4
siSnapType.siSnapMidPoint                                                   // 8
siSnapType.siSnapBBox                                                       // 32
siSnapType.siSnap0D                                                         // 65535
siSnapType.siSnapEdge                                                       // 65536
siSnapType.siSnapCurve                                                      // 131072
siSnapType.siSnapUIsocurve                                                  // 262144
siSnapType.siSnapVIsocurve                                                  // 524288
siSnapType.siSnapBoundary                                                   // 1048576
siSnapType.siSnap1D                                                         // 16711680
siSnapType.siSnapFace                                                       // 16777216
siSnapType.siSnapSurface                                                    // 33554432
siSnapType.siSnap2D                                                         // 1056964608
siSnapType.siSnapGrid                                                       // 1073741824
Constant Value Description
siSnapNone 0 Nothing was snapped.
siSnapPoint 0x1 Snap to points.
siSnapKnot 0x2 snap to knots.
siSnapCenter 0x4 Snap to centers.
siSnapMidPoint 0x8 Snap to mid-points.
siSnapBBox 0x20 Snap to bounding box points
siSnap0D 0xFFFF Snap to any 0D feature.
siSnapEdge 0x10000 Snap to mesh edges.
siSnapCurve 0x20000 Snap to curves.
siSnapUIsocurve 0x40000 Snap to surface U curves.
siSnapVIsocurve 0x80000 Snap to surface V curves.
siSnapBoundary 0x100000 Snap to surface boundary curves.
siSnap1D 0xFF0000 Snap to any 1D feature.
siSnapFace 0x1000000 Snap to mesh faces.
siSnapSurface 0x2000000 Snap to surfaces.
siSnap2D 0x3F000000 Snap to any 2D feature.
siSnapGrid 0x40000000 Snap to grid.

Applies To

ToolContext