摘要:
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
阅读(62)
评论(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
阅读(229)
评论(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)
摘要:
void SplitString(const std::string& s, std::vector<std::string>& v, const std::string& c){ std::string::size_type pos1, pos2; pos2 = s.find(c); pos1 = 阅读全文
posted @ 2023-02-18 11:57
firetuo
阅读(42)
评论(0)
推荐(0)
摘要:
class PersonT{public: PersonT(double D0, double D1, double D2, string strNUMBER, double DX, double DY, double DZ, double DTAG) { this->M_D0 = D0; this 阅读全文
posted @ 2023-02-18 11:55
firetuo
阅读(70)
评论(0)
推荐(0)
摘要:
#define UF_CALL(X) (report( __FILE__, __LINE__, #X, (X)))static int report(char *file, int line, char *call, int irc){ if (irc) { char messg[133]; pri 阅读全文
posted @ 2023-02-18 11:53
firetuo
阅读(103)
评论(0)
推荐(0)
摘要:
double Angle_faceFaec(tag_t Obj1, tag_t Obj2)//测量角度{ NXOpen::Session *theSession = NXOpen::Session::GetSession(); NXOpen::Part *workPart(theSession->P 阅读全文
posted @ 2023-02-18 11:52
firetuo
阅读(140)
评论(0)
推荐(0)
摘要:
double Dis_lineLine(tag_t Obj1, tag_t Obj2)//测量距离{ NXOpen::Session *theSession = NXOpen::Session::GetSession(); NXOpen::Part *workPart(theSession->Par 阅读全文
posted @ 2023-02-18 11:50
firetuo
阅读(102)
评论(0)
推荐(0)
摘要:
double Dis_faceFaec(tag_t Obj1, tag_t Obj2)//测量距离{ NXOpen::Session *theSession = NXOpen::Session::GetSession(); NXOpen::Part *workPart(theSession->Par 阅读全文
posted @ 2023-02-18 11:49
firetuo
阅读(133)
评论(0)
推荐(0)

浙公网安备 33010602011771号