NX⼆次开发-UFUN特征找体UF_MODL_ask_feat_body 1 NX11+VS2013 2 3 #include <uf.h> 4 #include <uf_modl.h> 5 6 UF_initialize();7 8//创建块 9 UF_FEATURE_SIGN Sign = UF_NULLSIGN;10double Corner_Pt[3] = {0.0, 0.0, 0.0};11char *Edge_Len[3] = {"100...
NX二次开发-UFUN特征找体UF_MODL_ask_feat_body #include 1NX11+VS201323#include <uf.h>4#include <uf_modl.h>56UF_initialize();78//创建块9UF_FEATURE_SIGN Sign =UF_NULLSIGN;10doubleCorner_Pt[3] = {0.0,0.0,0.0};11char*Edge_Len[3] = {"100","200","100"};12tag_t BlkTag =NUL...
如何获得所画圆柱体的各个面UF_CALL(UF_MODL_ask_feat_faces(body_tag,&cylinder_face_list)); UF_CA
15 theUfSession.Modl.CreateCyl1(sign, origin, height, diam, direction, out cyl_obj_id); 16 17 //特征找体 18 Tag body_obj_id = Tag.Null; 19 theUfSession.Modl.AskFeatBody(cyl_obj_id, out body_obj_id); 20 21 //设置颜色 22 theUfSession.Obj.SetColor(body_obj_id, 186); 23 2...
如何获得所画圆柱体的各个面UF_CALL(UF_MODL_ask_feat_faces(body_tag,&cylinder_face_list)); UF_CALL(UF_MODL_ask_list_count(cylinder_face_list,&list_count)); for(i=0;i