|
|
发表于 2010-4-2 08:15:30
|
显示全部楼层
来自: 中国台湾
OSMODE System Variable
7 d6 [7 R; l5 t
# w* S0 |9 N# r1 l. H. ~/ n5 SType: Integer
; W# O" l! n4 ~4 s P$ W: fSaved in: Registry; _2 q0 @9 T4 c8 Z2 U
Initial value: 4133
5 q8 q2 l6 t% C5 P" _! J6 y$ |
w8 ~: N( ~ j$ u3 u- H
) y5 v; T5 S* I- T+ ^* F, WSets running Object Snap modes using the following bitcodes: 3 ^4 Q/ k4 X1 K8 r6 l
( E: e& x& h& L, B2 m
$ l7 }. x* h ^6 c5 z0 NONe
: \- M1 h6 V: {5 o) s/ ]& O9 T( I# |$ V0 `4 n7 J* Z: s
1 ENDpoint
; [- n1 {4 a3 j. e7 ?! P% O0 Q Z" s9 R" f$ s+ _5 l
2 MIDpoint 1 k2 D2 n5 v4 I
) W) x8 d3 i) s5 n4 CENter 6 H9 @4 l. p0 D! `% |0 ^9 g3 q( C& b
8 z! g' L' c1 n1 W
8 NODe
/ t; i _ b) C6 O% Q0 m' G$ |3 [) o
16 QUAdrant 5 V- D( g1 r! B/ L3 J* x
% |! I# p( u! n8 r32 INTersection
3 J+ o% N) \) n( |$ c c8 s0 y' S
64 INSertion 3 H8 q( t1 o9 J, _! P
# b& l& J, Z$ O0 c. K: h7 S
128 PERpendicular
9 L5 b! j" g% X+ t
. B1 s* [! c5 h& L+ ^; P. B256 TANgent
8 I4 a: {& q. ^& D8 K
3 K5 d. z4 [6 ?* I5 |512 NEArest 7 D2 b/ M& n& B
3 ~0 D4 I" D9 n% N' L. Z1024 QUIck ) a5 X+ l5 P% s# w
' @1 c% G/ w$ D2 ]3 K. j/ X/ @0 J2048 APParent Intersection # R& Z6 v. v3 f" x; C" [' K
% V' Z. W. U* Z5 {# C8 A4096 EXTension 3 ~: m6 s. {5 j( b
+ d' e6 i+ H0 u; ^. O$ W6 P3 q8192 PARallel
. k7 ~7 R+ O8 n$ Q9 ~7 k& s6 N2 X3 U% F) I. n' m$ z2 y: F
# L) E+ I8 z0 \( ?9 @3 j3 _# T( o3 ~
To specify more than one object snap, enter the sum of their values. . K& y4 L# r5 w* [6 f
For example, entering 3 specifies the Endpoint (bitcode 1) ) V5 B0 ^! [* l8 m
and Midpoint (bitcode 2) object snaps. & N0 ?" B/ g% v9 W3 g
Entering 16383 specifies all object snaps.7 I. s) m; H4 @, [$ m4 Y
5 W7 b1 I; U& ~7 L; |% F
* N, G" ] I, ~" t* c T M+ BWhen object snaps are switched off using the Osnap button . L$ K6 ~ i5 E/ O! x' [
on the status bar, a bitcode of 16384 (0x4000) is returned,
) T% M. U2 W- @1 C; Zin addition to the normal value of OSMODE. With this additional value, * w( [( T) ~; j! |5 [7 }. I. e
developers can write applications for AutoCAD, & C; r' c& ?. Z2 N
and distinguish this mode from Object Snap modes 2 k8 v f; W" d0 F7 F' c
that have been turned off from within the Drafting Settings dialog box. . M. f7 w7 B+ G) k; |
Setting this bit toggles running object snaps off.
+ Y0 y$ Z- Y) i3 i6 \Setting OSMODE to a value with this bit off toggles running object snaps on. |
|