|
char cues[] = "choose single body";
! Z: `9 O/ D# c2 N char titles[] = "对象选择对话框";
! M& @7 A6 @5 I' u0 N int response = 0;
9 @7 A/ E* c) X; u3 N3 B int count, k;0 [) G" O" R+ ~" q/ W! z# [3 A; c
tag_p_t objects;+ T$ b7 n1 O7 Q% p" o9 F) u
uf_list_p_t body_face_list;5 C* h6 [ s3 E, I( [, i0 A
int f, cont;8 X G5 M- d3 |* g) V
. A- y2 `, p/ n5 w; M+ x% ? tag_t face;' C7 a( }+ m% X p. A$ M0 P6 a7 V. J( f
' z; Z$ H) k; ]2 X& q# {5 P
. y# q& l0 S8 b9 i) `* s UF_UI_selection_options_t opts;/ g$ ^9 \: b h- o3 ?
UF_UI_mask_t mask[1] = { UF_solid_type, 0, UF_UI_SEL_FEATURE_SOLID_BODY };
& u3 B; L3 A; D+ i opts.other_options = 0;* M+ J, K8 X! H6 G! v$ t, j
opts.reserved = NULL;# ?' I0 Z3 I- v2 v( a; ]
opts.num_mask_triples = 1;6 v" r8 `. h! M0 e" N* ~
opts.scope = UF_UI_SEL_SCOPE_WORK_PART_AND_OCC;
! ~4 _: p6 t6 A opts.mask_triples = &mask[0];+ M2 \7 e- W) p* n, o
* w9 i8 q S- V! H+ _8 F/ W& Y
L30:
. s& o0 l. @1 u( g- n+ ^4 o6 P! m, z; Z* S
UF_UI_select_by_class(cues, &opts, &response, &count, &objects); |
评分
-
查看全部评分
|