NX Open 图层说】的更多相关文章

我也是偶然发现的,在一次调试下,竟然会报警. 所以我写了测试代码,进行测试:结果如下 纳尼???还有271层?还能设置大于256层?NX open可以的.…
NX9+VS2012 #include <uf.h> #include <uf_modl.h> #include <uf_obj.h> UF_initialize(); UF_FEATURE_SIGN Sign = UF_NULLSIGN;//设置布尔 ] = {0.0, 0.0, 0.0};//设置原点 ] = {"};//设置长宽高 tag_t BlkTag = NULL_TAG; UF_MODL_create_block1(Sign, Corner_pt…
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_ui.h> #include <uf_layer.h> UF_initialize(); //设置除工作层之外的所有图层的状态. UF_LAYER_set_all_but_work(UF_LAYER_ACTIVE_LAYER); UF_terminate(); Caesar卢尚宇 2019年11月13日…
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 设置图层不可见不…
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_ui.h> #include <uf_layer.h> UF_initialize(); //获取一个图层类别的tag tag_t category = NULL_TAG; UF_LAYER_ask_category_tag("01.Tangkl_Solids", &category); //获取图层类别的信息 UF_LAYER_category_info_t…
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++)…
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…