|
|
发表于 2010-4-2 08:15:30
|
显示全部楼层
来自: 中国台湾
OSMODE System Variable; E" @" s) j5 n
u4 }& P& l, K3 ^+ hType: Integer q4 r$ p/ w+ O2 d, m/ |
Saved in: Registry; R: j$ q# {" ~' p
Initial value: 4133
8 f3 Y% k; N0 E; I% \5 k; z% S. @0 z2 r) C
7 G% ~' e% u; T! T$ v4 @' v
Sets running Object Snap modes using the following bitcodes: 3 w" j7 Y0 Y9 `* n$ \
; D2 B. ]# `, g* }7 S5 y) s( P
' r+ o0 w5 S7 a( k0 NONe
' f. l- y7 U+ K$ C
5 `& ?" R% J' D1 ENDpoint
* q0 C# w/ X- J+ g$ J1 E; g, W# ?0 C& ]" |6 p: u* T1 R! S
2 MIDpoint
* F7 [% S# O4 p4 [7 W: t' V" s1 q( K8 F; X/ u) [% o+ l0 ~" R
4 CENter 8 ?% k7 e8 x+ M# J: o
, ]4 E m. i+ u( d
8 NODe
5 f9 V; k! h1 l: P! `1 q5 B- n+ B7 A4 U4 W
16 QUAdrant 3 }( t( S+ r1 u r4 ]
( e5 @5 N+ O" Z3 g0 i' q; j32 INTersection
& Y7 a7 ^1 D1 U& }: F6 ^
( U' s) ?- `$ G8 ~$ ?64 INSertion
6 p" E8 {1 G! d: y% k. u
. j9 b0 [0 D9 |) u' k& R9 M128 PERpendicular
2 n/ K3 }- @5 i5 N: s6 |
. ^! R' U+ y$ s2 Q- K( U9 O256 TANgent
, o. |' h1 @5 b0 {" P6 }8 o# k8 d( o8 G2 P5 S
512 NEArest + q! c. _( G% ?# B
+ o9 l6 B1 l5 A. {- c! C1024 QUIck & c9 D4 P1 H1 {: T
# U/ k( B* S' y( [2048 APParent Intersection - v% \1 L- G7 Y, C% e# j
9 A+ e, z* _$ x
4096 EXTension
& @+ S0 L, b! i* }( I
6 |" U4 R N! V% |5 u w3 B8192 PARallel$ n$ n2 U% `0 L" `; T2 h2 ?
. u ^! P' f( y; B, Q9 d3 w) A; G1 e( w
To specify more than one object snap, enter the sum of their values.
* N" g4 E" R" } K4 N( r2 ]7 ]For example, entering 3 specifies the Endpoint (bitcode 1)
: y) O- c B! V& y* Oand Midpoint (bitcode 2) object snaps.
- k" N% `& J8 h; uEntering 16383 specifies all object snaps.
# C5 e# D" k* g$ K W8 j7 l5 y( L1 W& s( z, R
$ L! W( x( H6 n5 U$ Y
When object snaps are switched off using the Osnap button . w6 W5 a) E# x2 O" r& H" G
on the status bar, a bitcode of 16384 (0x4000) is returned,
. l3 o6 j- f; }/ F7 Oin addition to the normal value of OSMODE. With this additional value, " u+ V' l* ?& J5 b( ?$ \/ i
developers can write applications for AutoCAD, , S/ e9 Y/ F+ x+ ^
and distinguish this mode from Object Snap modes
" ]" P# ]. u* q7 _: Q6 f# b" X; athat have been turned off from within the Drafting Settings dialog box. 0 I) h1 f, r2 ?4 O! C( ^
Setting this bit toggles running object snaps off.
5 V5 V7 l% ]$ D& D# Y) l# x( K7 NSetting OSMODE to a value with this bit off toggles running object snaps on. |
|