|
char cues[] = "choose single body";
& f; z3 z% ^* K4 f, O char titles[] = "对象选择对话框";: s% @3 F7 F) R/ s* o* ~
int response = 0;
/ L5 ^: c, k5 d4 h! R& A; m- t int count, k;
$ P3 D1 S! ?8 W; M. M8 B+ S8 Z- b tag_p_t objects;# c$ E* |4 U; Z! m5 _; \* W
uf_list_p_t body_face_list; x/ y; ~$ H. X+ m/ f& h& m& ]
int f, cont;
, K* u! _* A% a& [+ m6 z' G; D% f
& P; T6 q: _0 b3 M1 U1 ^ tag_t face;
6 Y' M7 T9 R' Q) p. w# r+ i- S d( ^& K1 @' O
7 y( O0 _9 T( h( y% S
UF_UI_selection_options_t opts;
+ t4 D" f" A2 N UF_UI_mask_t mask[1] = { UF_solid_type, 0, UF_UI_SEL_FEATURE_SOLID_BODY };
C3 O% C) }$ m( a6 W& r. C7 U opts.other_options = 0;* U. Q. u8 g$ D# W8 h# c/ C
opts.reserved = NULL;5 q# M$ @+ d1 _8 k
opts.num_mask_triples = 1;
A) `1 k# R5 R" K opts.scope = UF_UI_SEL_SCOPE_WORK_PART_AND_OCC;1 e' L- r+ f8 w. ~5 P) e0 C- c
opts.mask_triples = &mask[0];' W/ A% a$ _0 y* J& P% o
$ s) E4 V1 t4 [1 k
L30:
_! i/ h: e( R. J$ w' `! D$ y6 P/ D1 O6 }
UF_UI_select_by_class(cues, &opts, &response, &count, &objects); |
评分
-
查看全部评分
|