|
|
发表于 2010-4-2 08:15:30
|
显示全部楼层
来自: 中国台湾
OSMODE System Variable
, \/ V, R8 f3 S- _3 W" u+ q; {
, n8 j, |. H; u' R+ kType: Integer; a# G) ?. r# G, ^6 N
Saved in: Registry) H& ?# O/ D! G; z: n/ L" n
Initial value: 4133
' F* _( s" R% ~6 l6 U# ~0 J$ l/ u) u/ j( i# J( l) N. `
1 h8 U" D) b' M) F' G, d3 m: o( \/ aSets running Object Snap modes using the following bitcodes: 4 [- S! Q! L6 E9 U3 [5 X$ Q' a
! G# G6 k- L! ^
! ~# U0 g' j4 z2 _* g+ j3 H& i5 Y
0 NONe 2 Y6 V9 m, L3 B3 R- |, _1 ]3 c
3 { T M: D* H5 ~1 ENDpoint 9 w! N0 h5 @% a" i4 G" h
- H: i: U' d) ^& w* \4 b2 MIDpoint , d4 e/ R( D/ y7 E" P6 [4 v
+ X$ A0 I; t3 s" N [4 CENter
( E8 M, [. ^1 j$ [" J( O5 {! F: M+ I3 B+ H
8 NODe
, J, h4 ?$ z. Z7 a7 P
. O) d e x: f16 QUAdrant ) G1 p3 j# j3 R7 M7 {2 K* F4 P
: [ ?% i, ^7 f( F; t2 \
32 INTersection b' {& z+ ? _5 }* y- U
. w3 L- I* m' m) x t64 INSertion
/ x, N! s# H* e( V: E: P9 w2 r$ c; P9 i/ ?6 Z/ o2 g' x
128 PERpendicular
5 B2 t& |2 r t4 O! J+ U6 X" M( {! b1 t3 k; X8 C0 \
256 TANgent
# x2 f/ d4 c7 F
/ r# N' J7 K! z# ~3 d {% p( d512 NEArest
4 n& p, [% F" ?( b4 F# y7 X# k, h3 [4 P# a2 o4 _0 ^
1024 QUIck # B1 C$ E6 h, p% W4 v3 T
% k8 J) |8 M- N+ ]* x
2048 APParent Intersection
. Z% J3 R! c/ X' t% j, C$ }
7 H" C1 @: y, ]- Z/ E0 I8 |& i) B" m4096 EXTension
& S4 n e0 V0 x# K9 Y4 p( }& z, q- W( F0 ?. q0 V2 A
8192 PARallel
7 q" X( m/ i4 [1 j* O
+ R/ S$ J l- i; q
9 y. p+ U! R; w1 [To specify more than one object snap, enter the sum of their values. 0 K9 E9 I- ]4 C
For example, entering 3 specifies the Endpoint (bitcode 1) 3 K( g/ O+ F! N2 M( d
and Midpoint (bitcode 2) object snaps.
/ L) f/ _* T, O, v2 W2 iEntering 16383 specifies all object snaps.# M0 x* c% \3 R0 y! C
+ A" z/ m* v4 o
0 P3 v2 w9 v5 N/ S" YWhen object snaps are switched off using the Osnap button 8 Y6 }5 W0 T {5 ?9 A8 O
on the status bar, a bitcode of 16384 (0x4000) is returned, 2 f' E; J F9 R5 y
in addition to the normal value of OSMODE. With this additional value,
/ t( w) V1 U9 J& mdevelopers can write applications for AutoCAD,
7 L: _ W& w0 hand distinguish this mode from Object Snap modes & J' Z7 ^9 r' k) ?+ Y% T' e/ O
that have been turned off from within the Drafting Settings dialog box.
, K" L: j' S# P- a7 S* }( s: BSetting this bit toggles running object snaps off.
' k8 b9 Y( w6 u- E& n- XSetting OSMODE to a value with this bit off toggles running object snaps on. |
|