|
|
发表于 2010-4-2 08:15:30
|
显示全部楼层
来自: 中国台湾
OSMODE System Variable0 u W, Z+ Y/ y) s! `' a1 m" q+ j
' o+ [5 j# Y' xType: Integer: D# D* z1 F P4 Y, Z1 m5 ~2 f$ N7 W- a
Saved in: Registry
" c/ I/ W" u: G8 h' s6 YInitial value: 41330 I9 J4 ?# Q1 h
2 [3 z+ H1 u1 g0 Z1 L7 q) Q( a/ v
" w/ |+ `7 @7 Z$ a iSets running Object Snap modes using the following bitcodes:
. n6 S3 k5 R; T7 |
3 d& B5 q9 D2 E+ R* H U o- `( Q% w0 S
0 NONe
5 A. Q9 @0 b" ?
6 b+ s$ s1 S8 j. A, F" S1 ENDpoint * ^# b8 Z5 w+ N2 Q/ j
- c3 H' T) g" z# L% f0 b2 MIDpoint 9 a. W( Z7 t; G7 v7 x1 a* |
# I3 T: i2 z. w( M4 CENter
, E6 p. W: |7 }4 |+ L' g. g* u4 }% a h6 E& m
8 NODe . L/ Z, [7 ^/ \* Z5 w* d
. a. ]; o- }$ J% G1 }: f
16 QUAdrant ) P' h' T6 ?0 z' c5 f A& _7 Q
8 z9 P% G" }; _$ v' s! c32 INTersection 6 t/ ?; \2 S1 g
: m Y. C: i6 L1 v2 n" a/ [
64 INSertion % g6 u$ M( z3 q4 D% a7 V
/ q i4 t6 m k; Q! Z) b128 PERpendicular
+ h3 R. ]& `% T/ G* g# u2 ~3 }8 D3 R0 {6 Q
256 TANgent 5 V. F3 a5 g2 y. r
2 M( l. V1 l! [! y
512 NEArest
3 d3 {5 u+ Q* w# p" `; e
; n& }! v: x) Y) o6 p/ w1024 QUIck 8 G* c" M, `6 A$ @
; X+ ]- I* L! g
2048 APParent Intersection
. L; _. f7 c8 b5 N0 W" M1 _' T1 N( V" H5 {2 ~0 } Y {; P# `
4096 EXTension 3 I8 Z$ v8 o! F( l7 V7 S
5 K" W( F1 ?. E
8192 PARallel
, B1 k& w* Z: u4 X* S- [1 H$ W/ O
% _2 A5 y) E0 A' [; \$ f0 K1 d% x. h/ e" M1 O0 G: t6 c
To specify more than one object snap, enter the sum of their values. " ~7 O, o8 r/ j) }
For example, entering 3 specifies the Endpoint (bitcode 1)
9 v( o0 y7 r8 O9 i4 k }and Midpoint (bitcode 2) object snaps.
' ^9 b& j5 f. TEntering 16383 specifies all object snaps.
% ^, P+ r( C$ {% a' e6 Z% I0 f' r/ D5 g* b% c' a
( D! D- K/ s2 v2 }
When object snaps are switched off using the Osnap button
# A# `! A, k; S: g6 ~! lon the status bar, a bitcode of 16384 (0x4000) is returned, 3 p4 Z# t( M+ ~( [ u
in addition to the normal value of OSMODE. With this additional value,
$ c% J& B% R; j( ?# Gdevelopers can write applications for AutoCAD, / a1 n! f9 l1 o8 N! c
and distinguish this mode from Object Snap modes / V8 [" @- k8 b& K T( F
that have been turned off from within the Drafting Settings dialog box. : W+ N8 T% _( X2 J4 f
Setting this bit toggles running object snaps off. ! J" U. {2 K' o- J2 k" U x1 \3 Y" h
Setting OSMODE to a value with this bit off toggles running object snaps on. |
|