|
char cues[] = "choose single body";
3 ~) [9 D& h: _7 J" U. T% L. v6 E char titles[] = "对象选择对话框"; x% g- w; P$ F3 l) I; [' U
int response = 0;4 w; i: D3 Q" B" O2 o& t( @
int count, k;
2 B/ z" [% ^+ S9 u! ~; _ tag_p_t objects;: y2 z- i! v+ [0 J0 P
uf_list_p_t body_face_list;. S: ?0 V/ R9 M
int f, cont;2 d, m; ~6 ]8 j
" S3 S) D# Z4 ?1 T! [ tag_t face;5 S4 H4 w' K1 Y: g8 a3 D9 s
, E$ Q5 D2 m6 D2 a- A
( f! h8 X. a$ k f UF_UI_selection_options_t opts;$ ~' I, z4 C7 j0 w% S: [$ }
UF_UI_mask_t mask[1] = { UF_solid_type, 0, UF_UI_SEL_FEATURE_SOLID_BODY };8 W8 i4 @# b" W; y5 ~' e9 T
opts.other_options = 0;
; P. v% q6 A% U6 u8 ^ opts.reserved = NULL;# J5 G- @6 L+ O; K) H8 p. h+ S
opts.num_mask_triples = 1;& o, ?" [' S$ l5 O
opts.scope = UF_UI_SEL_SCOPE_WORK_PART_AND_OCC;
% o- g3 Z6 X7 E0 M- X opts.mask_triples = &mask[0];# e" v( Q) i: y" h
) J* [0 Y: u) ZL30:5 [3 y: L) G, J
( f k" u; J9 B! G5 x) @4 D
UF_UI_select_by_class(cues, &opts, &response, &count, &objects); |
评分
-
查看全部评分
|