iCAx开思网
标题:
怎样用uc1616()调用点构造器
[打印本页]
作者:
wansqs
时间:
2009-7-21 12:13
标题:
怎样用uc1616()调用点构造器
下面是使用UF_PART_import函数将part导入的代码,对于dest_point的参数,我想通过调用点构造器来获取,请高手们多多指教啊~万分感谢
static void do_ugopen_api(void)
{
char *file_name="D:\\uf_project\\uf_thread\\luoxuanxian_reference_part.prt";
UF_import_part_modes_t modes;
double dest_csys[6]={1,0,0,0,1,0};
double dest_point[3]={0,0,0};
double scale = 1;
tag_t group ;
modes.layer_mode=0;
modes.group_mode=0;
modes.view_mode=0;
modes.cam_mode=FALSE;
UF_CALL(UF_PART_import(file_name, &modes,dest_csys,dest_point,scale,&group));
}
欢迎光临 iCAx开思网 (https://www.icax.org/)
Powered by Discuz! X3.3