NX二次开发-UFUN获得图纸页数量UF_DRAW_ask_num_drawings

 1 #include <uf.h>
 2 #include <uf_draw.h>
 3 #include <uf_ui.h>
 4 
 5 
 6 
 7 
 8 UF_initialize();
 9 
10 //获得有多少张图纸页
11 int num_drawings = 0;
12 UF_DRAW_ask_num_drawings(&num_drawings);
13 
14 char msg[256];
15 sprintf_s(msg, "图纸页有%d张", num_drawings);
16 uc1601(msg, 1);
17 
18 UF_terminate();
19 
20 Caesar卢尚宇
21 2019年7月1日

猜你喜欢

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