|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
" Z) s K; ]9 h
NX二次开发源码分享,显示点的临时符号的方法2 O9 R r5 k- M* a
static void display_temporary_asterisk(double *coords)& \. B% C7 k8 U+ @, o* M. Z
{
* j& G( k% V4 a; G: m, R: k UF_OBJ_disp_props_t
; e* \8 |0 h( J; }% S8 A attrib = { 1, 0, UF_OBJ_NOT_BLANKED, UF_OBJ_WIDTH_NORMAL,
. O& J7 ?' }- N7 I" m UF_OBJ_FONT_SOLID, FALSE};
* q2 j) b1 ]# X+ U% Y UF_CALL(UF_DISP_display_temporary_point(NULL_TAG, UF_DISP_USE_ACTIVE_PLUS,6 t3 {/ q/ d2 J) w, s6 X1 x
coords, &attrib, UF_DISP_ASTERISK));' Y" t+ q+ G# _- d
}
' g9 Q% p6 [" a! I: J这里可以将UF_DISP_ASTERISK改成其他类型2 m$ x! W5 v1 U: C; ^+ k- y
UF_DISP_NO_MARKER = 08 K* a3 }" x9 j+ {) e1 q0 v
UF_DISP_POINT+ |+ r; P1 e! Y; ]. |# ]
UF_DISP_DOT4 N/ L* Y' q' v# t4 ]
UF_DISP_ASTERISK J% J S: d6 l; o1 @5 K
UF_DISP_CIRCLE
z2 q. E; A( d! mUF_DISP_POUNDSIGN4 ` C1 ^+ g/ ^8 D! |8 s& v
UF_DISP_X
" M2 ]& _( z. g; LUF_DISP_GRIDPOINT$ ^0 j4 l4 ?: L4 _
UF_DISP_SQUARE
+ A' B" {9 r4 a) x. ?1 yUF_DISP_TRIANGLE_MARKER9 t0 _9 [& {. V' u7 g3 l) l9 [
UF_DISP_DIAMOND/ f- {5 C& H% r( A
UF_DISP_CENTERLINE3 ~0 V0 |$ w' ]# d# h
UF_DISP_CONS_FIX$ O8 J, y- g0 a
UF_DISP_CONS_HORIZONTAL5 L- x9 l6 b0 d3 d) k
UF_DISP_CONS_VERTICAL
; O$ r( d4 \4 I: s; [7 s! U3 pUF_DISP_CONS_PARALLEL
; H6 {0 a7 ` RUF_DISP_CONS_PERPENDICULAR
! Y2 T {% ]) A% ]0 g/ gUF_DISP_CONS_TANGENT! l# \3 V: }/ E
UF_DISP_CONS_CONCENTRIC
5 C t/ G1 f6 }. J+ Z* b% r. @UF_DISP_CONS_COINCIDENT* h" @- f7 D3 w: G8 y+ o
UF_DISP_CONS_COLLINEAR
O2 _! T; s: \0 P4 k4 n3 X/ tUF_DISP_CONS_POINT_ON_CURVE
& h; |! U8 w# C4 jUF_DISP_CONS_MIDPOINT( S# U$ Q4 L% z* q; I
UF_DISP_CONS_EQUAL_LENGTH: l( {2 e, R) A. l B/ q4 w/ X
UF_DISP_CONS_EQUAL_RADIUS
* p e- U ^5 K: X7 o s9 M6 ~6 ZUF_DISP_CONS_CONSTANT_LENGTH- I; g1 X* W4 |( I U
UF_DISP_CONS_CONSTANT_ANGLE4 @% T+ E2 W! O, C# r7 H
UF_DISP_CONS_MIRROR
/ Y4 X' C! D( F% ~3 aUF_DISP_DIM_RADIUS5 K. X: G5 U" V) d
UF_DISP_DIM_DIAMETER
0 f7 w2 z! e: |5 h q/ A+ RUF_DISP_DIM_PARALLEL
& c/ ?+ l" t0 `3 d8 u( M* A; yUF_DISP_DIM_PERPENDICULAR
1 G8 v' L8 T- E0 |8 {( K/ WUF_DISP_CONS_SLOPE
( U) n* h" |" ^5 F( W! ^) C+ [) [UF_DISP_CONS_STRING/ C1 w1 V* `# K6 L& e7 K
UF_DISP_CONS_UNIFORM_SCALED- o( X! V& O+ p! y+ K R1 p
UF_DISP_CONS_NON_UNIFORM_SCALED
+ L! g( m) a7 _0 A- M, a8 tUF_DISP_CONS_ASSOC_TRIM9 Z6 M5 L+ E# s, q
UF_DISP_CONS_ASSOC_OFFSET
- a2 ^, n$ Z. j7 nUF_DISP_2T_RES_SPOT_WELD
' Q" B6 ~7 m' d/ k! v- \; DUF_DISP_3T_RES_SPOT_WELD
5 E& L: f, [ y! u, p; gUF_DISP_4T_RES_SPOT_WELD4 K5 m- P+ T; }; N3 i
UF_DISP_2T_DC_SPOT_WELD: i2 m8 [9 ^- E1 `# e
UF_DISP_3T_DC_SPOT_WELD5 r( k+ @) ~; b
UF_DISP_4T_DC_SPOT_WELD
0 T4 y/ h3 [$ Y2 uUF_DISP_2T_KPC_SPOT_WELD# `. b2 j5 ?2 H. m3 R) s* c
UF_DISP_3T_KPC_SPOT_WELD9 K- Y# F8 o2 {% u
UF_DISP_4T_KPC_SPOT_WELD
' b' C/ b4 u! m& z2 ~UF_DISP_2T_PROC_SPOT_WELD& W. a8 Q' W3 T, ^4 V; F6 k M
UF_DISP_3T_PROC_SPOT_WELD
( r) Q1 B( m2 n; x" X F7 w: v; MUF_DISP_4T_PROC_SPOT_WELD
# m+ C6 U. g+ P. OUF_DISP_ARC_SPOT_WELD
- x+ m" P! ^( z' b8 e1 O4 p# fUF_DISP_CLINCH_WELD% Z" O+ W; O& G" n
UF_DISP_ANCHOR7 D% Y i/ |/ v A' K
UF_DISP_LEFT_LEADER_CONNECTION
/ u+ ]& J& n2 Y: B6 f8 jUF_DISP_RIGHT_LEADER_CONNECTION
3 K# ?$ N% g) d! X) hUF_DISP_FILLED_CIRCLE: D1 i* s8 m, C* m8 W6 y. r5 t2 P
UF_DISP_FILLED_SQUARE+ k+ f! ^$ B. Z% e1 M7 z( _
UF_DISP_LARGE_FILLED_SQUARE
3 [( A* f/ t6 w7 C2 _UF_DISP_DATUM_POINT, ~( O6 N; D+ q3 t4 x* s, y: _
UF_DISP_SNAPPING_DIAMOND# k6 T3 Z3 X' y% a! I; o7 g
UF_DISP_CIRCLE_IN_CIRCLE7 h# |2 Z$ G8 z, q
UF_DISP_CIRCLE_IN_SQUARE
. G7 [& v6 q& A ^. f0 S. RUF_DISP_SQUARE_IN_SQUARE
% c; L( ?5 U8 ]7 F) y; pUF_DISP_FILLED_LEFT_TRIANGLE9 m1 ^+ D- M7 E- R: \
UF_DISP_FILLED_RIGHT_TRIANGLE
, x. Y2 f; \: z, OUF_DISP_FILLED_UP_TRIANGLE: _ e3 I# y1 @( K; E4 _+ O
UF_DISP_FILLED_DOWN_TRIANGLE \: }6 r8 z& L1 B* `0 I8 z
UF_DISP_FILLED_LEFT_TRIANGLE_IN_CIRCLE
5 i+ @9 `5 J# A, O# V" Y: @UF_DISP_FILLED_RIGHT_TRIANGLE_IN_CIRCLE
( W) r0 R+ Q+ p8 B( t* bUF_DISP_FILLED_UP_TRIANGLE_IN_CIRCLE1 |5 S v1 ?" b9 ?& [0 A+ J a1 m' {" I
UF_DISP_FILLED_DOWN_TRIANGLE_IN_CIRCLE
0 Y J: g( T, [UF_DISP_FILLED_LEFT_TRIANGLE_IN_SQUARE
) `# S2 m: P2 y. M" h" e# wUF_DISP_FILLED_RIGHT_TRIANGLE_IN_SQUARE
* ~, O' k+ B) A0 z, _UF_DISP_FILLED_UP_TRIANGLE_IN_SQUARE
6 k4 ?5 F1 _, N9 S. @) p& zUF_DISP_FILLED_DOWN_TRIANGLEIN_SQUARE1 ] P7 Q6 E2 c1 e
UF_DISP_ROUNDED_CROSS; o# E# E7 ~ L4 ^
UF_DISP_FILLED_DIAMOND# W$ k3 e) g# m$ d. T5 `5 _7 O
UF_DISP_UP_DOWN_TRIANGLES; y) V- w1 P) q( D& ~( j0 K
UF_DISP_LEFT_RIGHT_TRIANGLES
* f8 n" \' K( t" yUF_DISP_SMALL_WHEEL
1 R8 o3 @+ Q5 J2 r5 }UF_DISP_LARGE_WHEEL* Q7 N* e+ ]8 P0 I# r& X3 |6 X1 Q( p
UF_DISP_HOLLOW_CIRCLE& ?: f% Z5 F" ` B" u
UF_DISP_PREVIEW_PERPENDICULAR
) \' }* I7 m0 F0 W! e% SUF_DISP_PREVIEW_HORIZONTAL9 B3 n+ b" |$ \0 Z. m5 k
UF_DISP_PREVIEW_VERTICAL
- i' ?. F7 [, bUF_DISP_PREVIEW_TANGENT; m# D4 N2 I; `, U( }
UF_DISP_PREVIEW_PARALLEL; O( M- y" X/ [* ]+ u- t
UF_DISP_PREVIEW_POINT_ON_CURVE5 a, W5 T5 ]. [7 G5 [/ p' D% q
UF_DISP_PREVIEW_COLLINEAR
( W- A+ P& @6 a( ~+ L6 \: YUF_DISP_RULER. X: Q; K' b8 `, N$ q+ u+ i
UF_DISP_PROTRACTOR0 s* h3 }! P" {3 Z
UF_DISP_SKETCH_NOTEBOOK
' ?9 [! t# t5 p1 k& P% |UF_DISP_ARC_END_POINT
& D! X x0 X0 V( e W/ FUF_DISP_2_PT_ARC_MARKER& W; W7 i& Q. i5 q+ m" }
UF_DISP_BIG_ASTERISK7 C/ w. T7 w5 R: W0 o
UF_DISP_LINE_IN_CIRCLE5 `0 }+ z4 M4 b- T( m: K
UF_DISP_PLUS_IN_CIRCLE
* q7 j4 g( F' [) KUF_DISP_CENTER_OF_ROTATION
5 J9 E6 k2 T! T6 iUF_DISP_PREVIEW_X" c" T' x0 Y, Q; ~' O* }
UF_DISP_PREVIEW_Y
# \* v. B& P" ] g+ LUF_DISP_PREVIEW_Z
n& k6 B! W) r/ JUF_DISP_2T_GENERAL_SPOT_WELD( M7 y% w" S Q6 A. h
UF_DISP_3T_GENERAL_SPOT_WELD" ]8 a2 X4 T, a4 h0 r5 b# E1 t
UF_DISP_4T_GENERAL_SPOT_WELD3 r9 P# m; u7 {4 z% P
UF_DISP_2T_VITAL_SPOT_WELD2 O3 ~" Z3 M2 |, B9 L1 z I/ z
UF_DISP_3T_VITAL_SPOT_WELD
, Z" _ P! N: h2 g1 B, zUF_DISP_4T_VITAL_SPOT_WELD
6 N1 j! q1 a- t5 G4 dUF_DISP_2T_IMPORTANT_SPOT_WELD
" ]+ J" t, r+ W0 `$ B! Q9 e$ d4 tUF_DISP_3T_IMPORTANT_SPOT_WELD
x n% R# ~+ N5 m AUF_DISP_4T_IMPORTANT_SPOT_WELD6 T- r" m: E5 U: L5 r# X* T
UF_DISP_2T_SEMIPANEL_SPOT_WELD7 e* f" a7 V9 i9 N
UF_DISP_3T_SEMIPANEL_SPOT_WELD9 f/ t( r, u1 J& V) E4 {* R K2 T( O
UF_DISP_4T_SEMIPANEL_SPOT_WELD$ G7 R6 K j/ m" X; y2 l
UF_DISP_SPOT_WELD_NUT+ k. u4 ?/ [/ y3 `# A
UF_DISP_SPOT_WELD_STUD
" Z1 n1 v! X5 X/ E/ gUF_DISP_INVALID_MARKER3 Q' u! t* |1 V- {# I. E, i" a
1 V+ u. S; ~ s" J* P0 h1 I+ W" w5 }7 U5 r8 j" R. |, C
|
|