怡宁塑胶模具设计

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2021年3月28日

摘要: VS2010 NX8.5 //遍历所有图纸页 vector<NXOpen::Drawings::DrawingSheet*> AllSheet; NXOpen::Drawings::DrawingSheet* Sheet1; NXOpen::Drawings::DrawingSheetCollect 阅读全文
posted @ 2021-03-28 10:07 怡宁塑胶模具设计 阅读(291) 评论(0) 推荐(0) 编辑

摘要: VS2010 NX8.5 UF_initialize(); char msg[256]; int ModuleId = 0; int button_id1 = 0; UF_ask_application_module(&ModuleId);//获取当前所在的模块 FileNew *fileNewDr 阅读全文
posted @ 2021-03-28 09:49 怡宁塑胶模具设计 阅读(219) 评论(0) 推荐(0) 编辑

摘要: C++ 2010 NX8.5 Annotations::TableSection *nullAnnotations_TableSection(NULL); Annotations::TableSectionBuilder *tableSectionBuilder1; tableSectionBuil 阅读全文
posted @ 2021-03-28 09:34 怡宁塑胶模具设计 阅读(410) 评论(0) 推荐(1) 编辑

2021年3月15日

摘要: #include <NXOpen/WCS.hxx>#include <NXOpen/NXMatrix.hxx>#include <NXOpen/CartesianCoordinateSystem.hxx>#include <NXOpen/CoordinateSystem.hxx>#include < 阅读全文
posted @ 2021-03-15 15:49 怡宁塑胶模具设计 阅读(256) 评论(0) 推荐(0) 编辑

2021年3月14日

摘要: VS2015 NX12 关键代码 //找圆边(整圆)void InsertPinVentingNew::findArcEdge(){ try { workPart = theSession->Parts()->Work(); getOriginalWCS();//获取原WCS UF_initiali 阅读全文
posted @ 2021-03-14 12:34 怡宁塑胶模具设计 阅读(378) 评论(0) 推荐(0) 编辑

2021年3月13日

摘要: 头文件 #include <algorithm>//比大小的头文件 double distance; std::vector<double> measureValue;//测量的值(double型) for ( int i = 0 ; i < edges.size(); i ++ ) { Edge 阅读全文
posted @ 2021-03-13 17:31 怡宁塑胶模具设计 阅读(346) 评论(0) 推荐(1) 编辑

摘要: C++ //选择过滤 Selection::SelectionAction action = Selection::SelectionActionClearAndEnableSpecific; std::vector<Selection::MaskTriple> maskArray(1); mask 阅读全文
posted @ 2021-03-13 14:25 怡宁塑胶模具设计 阅读(817) 评论(0) 推荐(0) 编辑

2021年3月10日

摘要: @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 阅读全文
posted @ 2021-03-10 10:47 怡宁塑胶模具设计 阅读(241) 评论(0) 推荐(0) 编辑

2021年3月6日

摘要: 1.对话框改动如下肉容 Dialog->Dialog Sizing->Allow Resize 2.新加滚动窗口(更改滚动窗口宽度分辨率(最大只能800)) 3.在滚动窗口加入需要的UI,下图是加了树列表的效果。 阅读全文
posted @ 2021-03-06 21:02 怡宁塑胶模具设计 阅读(492) 评论(1) 推荐(0) 编辑

摘要: C++ 2010 //遍历工作部件,把所有体移动到20层 BodyCollection *bodys = workPart->Bodies(); for (BodyCollection::iterator ite = bodys->begin();ite !=bodys->end();ite++) 阅读全文
posted @ 2021-03-06 19:27 怡宁塑胶模具设计 阅读(216) 评论(0) 推荐(0) 编辑