摘要:
VS2010 NX8.5 //遍历所有图纸页 vector<NXOpen::Drawings::DrawingSheet*> AllSheet; NXOpen::Drawings::DrawingSheet* Sheet1; NXOpen::Drawings::DrawingSheetCollect 阅读全文
摘要:
VS2010 NX8.5 //遍历所有图纸页 vector<NXOpen::Drawings::DrawingSheet*> AllSheet; NXOpen::Drawings::DrawingSheet* Sheet1; NXOpen::Drawings::DrawingSheetCollect 阅读全文
摘要:
VS2010 NX8.5 UF_initialize(); char msg[256]; int ModuleId = 0; int button_id1 = 0; UF_ask_application_module(&ModuleId);//获取当前所在的模块 FileNew *fileNewDr 阅读全文
摘要:
C++ 2010 NX8.5 Annotations::TableSection *nullAnnotations_TableSection(NULL); Annotations::TableSectionBuilder *tableSectionBuilder1; tableSectionBuil 阅读全文
摘要:
#include <NXOpen/WCS.hxx>#include <NXOpen/NXMatrix.hxx>#include <NXOpen/CartesianCoordinateSystem.hxx>#include <NXOpen/CoordinateSystem.hxx>#include < 阅读全文
摘要:
VS2015 NX12 关键代码 //找圆边(整圆)void InsertPinVentingNew::findArcEdge(){ try { workPart = theSession->Parts()->Work(); getOriginalWCS();//获取原WCS UF_initiali 阅读全文
摘要:
头文件 #include <algorithm>//比大小的头文件 double distance; std::vector<double> measureValue;//测量的值(double型) for ( int i = 0 ; i < edges.size(); i ++ ) { Edge 阅读全文
摘要:
C++ //选择过滤 Selection::SelectionAction action = Selection::SelectionActionClearAndEnableSpecific; std::vector<Selection::MaskTriple> maskArray(1); mask 阅读全文
摘要:
@echo set UGII_BASE_DIR = D:\NX\NX8.5 set UGII_ROOT_DIR=%UGII_BASE_DIR%\ugiiset UGII_LANG=englishset UGII_DISPLAY_DEBUG=1set UGII_SITE_DIR=D:\YiNing t 阅读全文
摘要:
1.对话框改动如下肉容 Dialog->Dialog Sizing->Allow Resize 2.新加滚动窗口(更改滚动窗口宽度分辨率(最大只能800)) 3.在滚动窗口加入需要的UI,下图是加了树列表的效果。 阅读全文
摘要:
C++ 2010 //遍历工作部件,把所有体移动到20层 BodyCollection *bodys = workPart->Bodies(); for (BodyCollection::iterator ite = bodys->begin();ite !=bodys->end();ite++) 阅读全文
|