马上注册登录,享用更多网站功能!
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
主要代码如下:
static void do_ugopen_api(void)
{
char cue[] = "Bitte Kante auswaelen!";
char title[] = "Kantenauswaelen";
int response;
tag_t object, view;
double cursor[3];
uf_list_p_t edge_list;
tag_t blend_tag;
char *blend_radius="5.0";
if(!UF_UI_select_with_single_dialog(cue, title, UF_UI_SEL_SCOPE_ANY_IN_ASSEMBLY,init_proc,
NULL, &response, &object,cursor, &view))
{
if (response == UF_UI_OBJECT_SELECTED||response== UF_UI_OBJECT_SELECTED_BY_NAME)
{
UF_DISP_set_highlight(object, 0);
}
}
UF_MODL_ask_edge_feats (object, [$edge_list )]
UF_MODL_create_blend(blend_radius,edge_list, 0, 0, 0, 0.5,[$blend_tag)]
出来对话框,我选择了一个物体的边,可是没有blend,是怎么回事呢?哪位大侠告知,谢谢了! |