NX二次开发-UFUN另存为part UF_PART_save_as

 1 NX11+VS2013
 2 
 3 #include <uf.h>
 4 #include <uf_part.h>
 5 
 6 
 7 UF_initialize();
 8 
 9 //新建part
10 tag_t partTag = NULL_TAG;
11 UF_PART_new("D:\\123.prt", 1, &partTag);//单位1为公制2为英制
12 
13 //保存part
14 UF_PART_save();
15 
16 //另存为part
17 UF_PART_save_as("D:\\456.prt");
18 
19 UF_terminate();
20 
21 Caesar卢尚宇
22 202年2月14日

猜你喜欢

转载自www.cnblogs.com/nxopen2018/p/12309597.html