NX二次开发-UFUN获取工程图视图边界线是否显示UF_DRAW_ask_border_display

 1 #include <uf.h>
 2 #include <uf_draw.h>
 3 #include <uf_ui.h>
 4 
 5 
 6 
 7 UF_initialize();
 8 
 9 logical border_display;
10 UF_DRAW_ask_border_display(&border_display);
11 
12 if (border_display == true)
13 {
14     uc1601("边界线显示", 1);
15 }
16 else
17 {
18     uc1601("边界线隐藏", 1);
19 }
20 
21 UF_terminate();
22 
23 Caesar卢尚宇
24 2019年7月1日

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