摘要: tag_t WorkPartTAG = UF_ASSEM_ask_work_part(); UF_ATTR_value_t value; int title_type; string strAttr; UF_ATTR_find_attribute(bodyTAG, UF_ATTR_any, "YX_ 阅读全文
posted @ 2023-02-18 14:09 firetuo 阅读(56) 评论(0) 推荐(0)
摘要: // 全局变量 std::vector<tag_t> vecTAGbody; //装拉伸后实体TAG std::vector<NXObject*> vecTAGtxt; //装TXT曲线特征TAG vector<NXObject*>::iterator itvecTAGtxt; list<doubl 阅读全文
posted @ 2023-02-18 14:08 firetuo 阅读(24) 评论(0) 推荐(0)
摘要: #include <uf_ugfont.h>#include <uf_drf.h> //查找字体int index=-1;tag_t s_part_tag=UF_PART_ask_display_part();tag_t s_obj=NULL_TAG;UF_OBJ_cycle_objs_in_par 阅读全文
posted @ 2023-02-18 14:06 firetuo 阅读(61) 评论(0) 推荐(0)
摘要: uf_list_p_t face_list; UF_MODL_ask_body_faces(bodyTAG, &face_list); int count; UF_MODL_ask_list_count(face_list, &count); uf_list_p_t yz_face_list; UF 阅读全文
posted @ 2023-02-18 14:03 firetuo 阅读(49) 评论(0) 推荐(0)
摘要: void DZWEIZHI::OpenMain()//主入口 { try { // Enter your callback code here NXOpen::Session *theSession = NXOpen::Session::GetSession(); NXOpen::Part *wor 阅读全文
posted @ 2023-02-18 12:02 firetuo 阅读(50) 评论(0) 推荐(0)
摘要: void DZWEIZHI::Dele()//删除对象 { try { // Enter your callback code here NXOpen::Session *theSession = NXOpen::Session::GetSession(); NXOpen::Part *workPa 阅读全文
posted @ 2023-02-18 12:02 firetuo 阅读(73) 评论(0) 推荐(0)
摘要: void DZWEIZHI::RemoveParam()//去参 { try { // Enter your callback code here NXOpen::Session *theSession = NXOpen::Session::GetSession(); NXOpen::Part *w 阅读全文
posted @ 2023-02-18 12:01 firetuo 阅读(82) 评论(0) 推荐(0)
摘要: void DZWEIZHI::CreaExtrude(string str, double note_origin[3], tag_t Obj)//创建拉伸nxopen方式{ try { // Enter your callback code here NXOpen::Session *theSes 阅读全文
posted @ 2023-02-18 12:00 firetuo 阅读(228) 评论(0) 推荐(0)
摘要: void DZWEIZHI::CreaExtrudeBuilder()//创建拉伸UFUN+nxopen{ try { // Enter your callback code here NXOpen::Session *theSession = NXOpen::Session::GetSession 阅读全文
posted @ 2023-02-18 11:59 firetuo 阅读(176) 评论(0) 推荐(0)
摘要: void DZWEIZHI::CreaTxt(string str, double note_origin[3])////创建TXT文字{ try { // Enter your callback code here NXOpen::Session *theSession = NXOpen::Ses 阅读全文
posted @ 2023-02-18 11:58 firetuo 阅读(249) 评论(0) 推荐(0)