摘要:
UF_initialize(); char msg[111]; //定义循环曲线 std::vector<tag_t> lineNum; Line *line1=NULL; Line *line2=NULL; Session *theSession = Session::GetSession(); 阅读全文
摘要:
#include <uf_defs.h>#include <uf.h>#include <uf_ui.h>#include <uf_ui_types.h>#include <iostream>#include <uf_assem.h>#include <UF_MODL.h>#include <UF_ 阅读全文
摘要:
// Enter your callback code here UF_initialize(); char msg[111]; /*theSession->ListingWindow()->Open(); Session *theSession = Session::GetSession(); P 阅读全文
摘要:
这是一篇测试代码,其中有很多条件的测试,尤其注意注释部分,知识 点较多 UF_initialize(); char msg[111]; theSession->ListingWindow()->Open(); Session *theSession = Session::GetSession(); 阅读全文
摘要:
#include <uf_defs.h>#include <uf_ui_types.h>#include <iostream>#include <NXOpen/Session.hxx>#include <NXOpen/UI.hxx>#include <NXOpen/NXMessageBox.hxx> 阅读全文
摘要:
void ZiDongWanTou::cycleLine(){ Session *theSession = Session::GetSession(); Part *displayPart(theSession->Parts()->Display()); Part *workPart(theSess 阅读全文
摘要:
int ZiDongWanTou::apply_cb(){ int errorCode = 0; try { // Enter your callback code here + UF_initialize(); char msg[100]; Session *theSession = Sessio 阅读全文
摘要:
UF_initialize(); char msg[111]; theSession->ListingWindow()->Open(); Session *theSession = Session::GetSession(); Part *workPart(theSession->Parts()-> 阅读全文
摘要:
///////////////////////////////////////////////////////////////////////////////////////// Represents a component in a NXOpen::Assemblies::ComponentAss 阅读全文
摘要:
theSession->ListingWindow()->Open(); ///遍历方式 Features::Feature *fcList; std::vector<NXObject *> entitiesArray; Features::FeatureCollection *fc=workPar 阅读全文