码迷,mamicode.com
首页 > Windows程序 > 详细

NX二次开发-UFUN重命名图纸页UF_DRAW_rename_drawing

时间:2019-07-01 19:58:47      阅读:147      评论:0      收藏:0      [点我收藏+]

标签:col   ini   init   http   mamicode   code   draw   ima   img   

 1 #include <uf.h>
 2 #include <uf_draw.h>
 3 #include <uf_drf.h>
 4 #include <uf_obj.h>
 5 
 6 
 7 
 8 UF_initialize();
 9 
10 //找名字获取视图tag
11 tag_t ViewTag = NULL_TAG;
12 UF_OBJ_cycle_by_name("123", &ViewTag);
13 
14 //由视图tag获取图纸页tag
15 tag_t DrawingTag = NULL_TAG;
16 UF_DRAW_ask_drawing_of_view(ViewTag, &DrawingTag);
17 
18 //重命名图纸页
19 UF_DRAW_rename_drawing(DrawingTag, "123456");
20  
21 UF_terminate();
22 
23 Caesar卢尚宇
24 2019年7月1日

技术图片

NX二次开发-UFUN重命名图纸页UF_DRAW_rename_drawing

标签:col   ini   init   http   mamicode   code   draw   ima   img   

原文地址:https://www.cnblogs.com/nxopen2018/p/11116145.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!