|
char cues[] = "choose single body";( [6 Y# ]! C. L* | \* x
char titles[] = "对象选择对话框";
( L6 s4 t, f" d8 U# a int response = 0;
8 W3 \4 T1 [/ H) `# b int count, k;9 ~. N% u, f4 X* n# O
tag_p_t objects;1 }0 j3 B/ R1 N! W8 x7 y: x- b( C
uf_list_p_t body_face_list;0 r2 b+ L% j& l
int f, cont;
0 E- B- B C' J( C1 ~6 P7 K' S+ I b8 y# f5 Y
tag_t face;" [; P% p/ `. q# R! s4 i
! N+ e* x1 ^: M
. f/ L8 n' ^; J4 F" E UF_UI_selection_options_t opts;: i5 l2 z: y: z4 o& T
UF_UI_mask_t mask[1] = { UF_solid_type, 0, UF_UI_SEL_FEATURE_SOLID_BODY };
3 ~5 i; }% g. p t opts.other_options = 0;& ?. R/ @" F! `6 ~
opts.reserved = NULL;% u3 U+ L' f' u- K d, g1 F
opts.num_mask_triples = 1;$ _4 u. q+ ^, h$ F
opts.scope = UF_UI_SEL_SCOPE_WORK_PART_AND_OCC;% w5 l' {& ^! r+ F+ k2 J% c; |. j' I' ^
opts.mask_triples = &mask[0];
0 F( n) ?- u6 Y! M( x; h. Q
! s0 j' Z' k8 T# T/ G3 tL30:8 S i4 ?" q3 ]; ?8 U. H
/ O6 d: W' I7 p% y" |. m. x
UF_UI_select_by_class(cues, &opts, &response, &count, &objects); |
评分
-
查看全部评分
|