马上注册登录,享用更多网站功能!
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
char message[133];
message[0]='\0';
strcpy(message,"please select face");
char title[133];
title[0]='\0';
strcpy(title,message);
int scope=UF_UI_SEL_SCOPE_WORK_PART;
UF_UI_sel_init_fn_t sel_init_proc=NULL;
void *user_data=NULL;
int response;
int count;
tag_p_t object;
char offset='1';
uf_list_p_t faces=NULL;
uf_list_p_t p1,p2;
tag_t feature_obj_id;
UF_UI_select_with_class_dialog(message,title,scope,sel_init_proc,user_data,
[$response,&count,&object)]
tag_t face[132];
int i;
for(i=0;i<count;i++)
{
face=*object;
p1=(uf_list_p_t)malloc(LEN);
p1->eid=face;
if(i==0) {faces=p1;p2=p1;}
else
{
p2->next=p1;
p2=p1;
}
object++;
}
UF_MODL_create_face_offset([$offset,faces,&feature_obj_id)]
调试时发现feature_obj_id=0啊! |