Object Snap Setting

Object Snap Setting in Autocad

set osmode with numbers of modes bydefault
List of codes as follow:
0 NONe
1 ENDpoint
2 MIDpoint
4 CENter
8 NODe
16 QUAdrant
32 INTersection
64 INSertion
128 PERpendicular
256 TANgent
512 NEArest
1024 QUIck
2048 APParent Intersection
4096 EXTension
8192 PARallel
command: osmode>number>ok
use total numbers for various desired snaps.