Sets running object snaps
Type: | Integer |
Saved in: | Registry |
Initial value: | 4133 |
The setting is stored as a bitcode using the sum of the following values:
0 |
NONe |
1 |
ENDpoint |
2 |
MIDpoint |
4 |
CENter |
8 |
NODe |
16 |
QUAdrant |
32 |
INTersection |
64 |
INSertion |
128 |
PERpendicular |
256 |
TANgent |
512 |
NEArest |
1024 |
Clears all object snaps |
2048 |
APParent Intersection |
4096 |
EXTension |
8192 |
PARallel |
To specify more than one object snap, enter the sum of their values. For example, entering 3 specifies the Endpoint (bitcode 1) and Midpoint (bitcode 2) object snaps. Entering 16383 specifies all object snaps.
In AutoCAD, when object snaps are switched off using the Object Snap button on the status bar, a bitcode of 16384 (0x4000) is returned, in addition to the normal value of OSMODE. With this additional value, developers can distinguish this mode from Object Snap modes that have been turned off from within the Drafting Settings dialog box. Setting this bit toggles running object snaps off. Setting OSMODE to a value with this bit off toggles running object snaps on.