|
|
发表于 2010-4-2 08:15:30
|
显示全部楼层
来自: 中国台湾
OSMODE System Variable
4 X& Q5 j) @0 I$ V
4 E( x1 S3 S) H7 C3 |: s# QType: Integer
+ |$ A/ c! z! g" m- i! p4 w' G& Z& }Saved in: Registry: w6 I9 t$ f" K/ j- x) j* z
Initial value: 4133" B. I% u! V i( s: c+ `# _
" @; f$ x0 b X% k; J4 Z: |$ {8 I* X3 u
Sets running Object Snap modes using the following bitcodes: ' _( y+ X k; A9 A8 l
* d, Q+ r9 l# k9 A7 n1 ^3 n3 l8 l8 t7 \0 K( `
0 NONe 3 w) @9 u# P ^' i9 \# P- H' R
# `1 L+ y, V/ l) A% M
1 ENDpoint 3 c) O' ~$ t, s+ O8 j! T- a4 U
5 s2 A$ ]! R+ g m3 f! L9 @& {
2 MIDpoint 7 G& W2 K; a/ R7 M( N' o$ x3 [ D0 ^2 s! C
1 {+ ?' g: o" b" X0 t$ c4 CENter
9 t5 \& a4 b! f' }" q3 M' d% P8 K8 X8 f, n% U6 p$ \4 b
8 NODe
2 `5 s! e- K8 y* F# Q: k5 O. A0 }- O) L0 |4 E3 Q( a
16 QUAdrant
5 Z1 @$ Y: h6 {: _7 D
; d) u0 T; d7 k& S7 m. a( |32 INTersection
' E! Z }$ S" U( B, D2 n+ q5 _8 ~- l6 m7 @3 X% }: S
64 INSertion - s3 c ~% r" ?6 s7 ^
* |3 m, Z' S0 c. ^7 y7 A128 PERpendicular * h$ G- a. I8 V2 T
$ J4 P% O" N) @6 o
256 TANgent 3 j1 G; g* L8 V
4 i, V+ q: ]7 d0 c/ @512 NEArest
. L. W/ J: C% h) U0 r9 a, h v6 ] q
1024 QUIck / K2 Q& ?. {; t+ Y/ F
. j5 F. j" [ V" |7 W+ z2048 APParent Intersection
- W) b* \" y8 q! F- N& l
2 s& Z; W/ Q9 Y1 }4096 EXTension ; k' ^9 t# m9 _( W9 D
4 D* \1 ]2 c! M+ D z9 }0 z; g
8192 PARallel
+ q! i! |# ^8 A' I, e9 `7 T# r+ ]2 O
, |% f4 }6 U0 I; Z; v$ t0 E' {To specify more than one object snap, enter the sum of their values. " w$ P3 f% N: K0 w; }
For example, entering 3 specifies the Endpoint (bitcode 1)
& a; w, T+ o8 _0 |' o2 k% gand Midpoint (bitcode 2) object snaps.
L2 _4 W' t% _+ A% X$ HEntering 16383 specifies all object snaps.6 d) ] j/ h0 Q9 ?2 w' y
2 x$ O* p2 w& L2 C( {
5 m7 Z1 y: q0 |+ fWhen object snaps are switched off using the Osnap button
- p+ O% t4 J1 N9 T/ E5 \on the status bar, a bitcode of 16384 (0x4000) is returned, $ h+ w/ h; V. E6 q
in addition to the normal value of OSMODE. With this additional value,
. r3 R, v- g- Gdevelopers can write applications for AutoCAD,
5 y" l2 K U$ W) S* iand distinguish this mode from Object Snap modes / O$ e! u$ ^, C: k
that have been turned off from within the Drafting Settings dialog box.
! T5 d# T3 U/ E2 MSetting this bit toggles running object snaps off.
" y* Z3 Y* k9 Q s8 `/ t& V) d7 cSetting OSMODE to a value with this bit off toggles running object snaps on. |
|