标签:init tag null col color har 对象 name image
1 NX9+VS2012 2 3 #include <uf.h> 4 #include <uf_modl.h> 5 #include <uf_obj.h> 6 7 8 9 UF_initialize(); 10 11 //创建块 12 UF_FEATURE_SIGN Sign = UF_NULLSIGN; 13 double Corner_Pt[3] = {0.0, 0.0, 0.0}; 14 char *Edge_Len[3] = {"100", "100", "100"}; 15 tag_t BlkTag = NULL_TAG; 16 UF_MODL_create_block1(Sign, Corner_Pt, Edge_Len, &BlkTag); 17 18 //特征找体 19 tag_t BodyTag = NULL_TAG; 20 UF_MODL_ask_feat_body(BlkTag, &BodyTag); 21 22 //设置对象名称 23 UF_OBJ_set_name(BodyTag, "Hello"); 24 25 UF_terminate();
NX二次开发-设置对象名称函数UF_OBJ_set_name
标签:init tag null col color har 对象 name image
原文地址:https://www.cnblogs.com/nxopen2018/p/10957352.html