|
char cues[] = "choose single body";
7 W( O$ @7 Y6 Z0 I( O char titles[] = "对象选择对话框";: I# q& T2 F/ R9 @: p6 f% G( H
int response = 0;
% Y' B4 s3 A0 F int count, k;
0 F, @1 z+ o r tag_p_t objects;0 b7 N+ j4 ^, a& L6 a+ R
uf_list_p_t body_face_list;/ E3 o0 W( _, h. x; d7 C
int f, cont;8 P$ s( i; I' ` e# @
: r" w5 s/ U/ \ P9 e( A% F
tag_t face;" \& R/ M9 H1 B
, x/ e' t* C7 H8 A* Z0 X# E
2 Y) p9 J7 h1 P; ^" L. @, I UF_UI_selection_options_t opts;5 f* p# S! ]) V7 D h0 P* O1 B1 R
UF_UI_mask_t mask[1] = { UF_solid_type, 0, UF_UI_SEL_FEATURE_SOLID_BODY };
: p; s9 `2 Y0 t0 A+ ~+ {' L& F opts.other_options = 0;. v! D& \( ~# R' q3 R
opts.reserved = NULL;
% X9 Z- g) l2 M a5 l opts.num_mask_triples = 1;$ c2 q9 |* l$ z+ I! w2 \
opts.scope = UF_UI_SEL_SCOPE_WORK_PART_AND_OCC;5 {) s8 w9 B( o2 O4 g
opts.mask_triples = &mask[0];( t- o' [9 E5 [9 n- _, j
/ p1 [- Q; l4 `+ A. g: v! e/ u$ KL30:
% l+ s, N1 y& d2 ?0 Y
8 L* C" K( N5 h+ J% G) V, T UF_UI_select_by_class(cues, &opts, &response, &count, &objects); |
评分
-
查看全部评分
|