NX11+VS2013 #include <uf.h> #include <uf_layer.h> UF_initialize(); //创建图层类别 UF_LAYER_category_info_t category_info1; strcpy(category_info1.name, "实体"); strcpy(category_info1.descr, "放实体的"); ; i < UF_LAYER_MAX_LAYER; i++)…
1 NX11+VS2013 2 3 #include <uf.h> 4 #include <uf_layer.h> 5 6 7 UF_initialize(); 8 9 //创建图层类别 10 UF_LAYER_category_info_t category_info1; 11 strcpy(category_info1.name, "实体"); 12 strcpy(category_info1.descr, "放实体的"); 13 for…
1 NX11+VS2013 2 3 #include <uf.h> 4 #include <uf_ui.h> 5 #include <uf_layer.h> 6 7 8 9 UF_initialize(); 10 11 //获取一个图层类别的tag 12 tag_t category = NULL_TAG; 13 UF_LAYER_ask_category_tag("01.Tangkl_Solids", &category); 14 15 /…
NX11+VS2013 #include <uf.h> #include <uf_layer.h> UF_initialize(); //创建图层类别 UF_LAYER_category_info_t category_info1; strcpy(category_info1.name, "实体"); strcpy(category_info1.descr, "放实体的"); ; i < UF_LAYER_MAX_LAYER; i++)…
1 NX11+VS2013 2 3 #include <uf.h> 4 #include <uf_layer.h> 5 6 7 UF_initialize(); 8 9 //创建图层类别 10 UF_LAYER_category_info_t category_info1; 11 strcpy(category_info1.name, "实体"); 12 strcpy(category_info1.descr, "放实体的"); 13 for…
NX11+VS2013 #include <uf.h> #include <uf_ui.h> #include <uf_layer.h> UF_initialize(); //获取图层的状态 //1.UF_LAYER_WORK_LAYER 设置为工作图层 //2.UF_LAYER_ACTIVE_LAYER 设置图层可见可编辑 //3.UF_LAYER_REFERENCE_LAYER 设置图层仅可见 //4.UF_LAYER_INACTIVE_LAYER 设置图层不可见不…
NX11+VS2013 #include <uf.h> #include <uf_ui.h> #include <uf_layer.h> UF_initialize(); //批量操作图层状态 UF_LAYER_status_info_t changes[UF_LAYER_MAX_LAYER]; ;//批量的数量 ;//批量的起始图层 ; i < count; i++) { changes[i].layer_number = num + i; changes[i]…
NX11+VS2013 #include <uf.h> #include <uf_layer.h> #include <uf_ui.h> UF_initialize(); UF_UI_open_listing_window(); //遍历图层 tag_t object_tag = NULL_TAG; UF_LAYER_cycle_by_layer(, &object_tag);//2为遍历第2层里的所有对象(为0是所有图层) while (object_tag…
NX9+VS2012 #include <uf.h> #include <uf_draw.h> #include <uf_obj.h> #include <uf_part.h> UF_initialize(); //新建工程图(A4图纸) char* DrawingName = "Sheet1";//设置图纸名字 UF_DRAW_info_t DrawingInfo;//设置图纸大小.投影视角.视图比例等 DrawingInfo.size…
UF公共类型 UF_begin_timer计时函数 https://www.cnblogs.com/nxopen2018/p/10957135.html UF_end_timer计时函数 https://www.cnblogs.com/nxopen2018/p/11099462.html UF_initialize初始化 https://www.cnblogs.com/nxopen2018/p/10952538.html UF_terminate终止  https://www.cnblogs.c…