随笔分类 - NXOpen(C++)
摘要:第一步:打开Visual Studio 2015 第二步:视图->对象浏览器 第三步:点击下拉框->点击编辑自定义组件集 第四步:在\Siemens\NX 12.0\NXBIN\managed文件夹下找打下图的dll文件添加、确定就可以了。 第五步,查看对象
阅读全文
摘要:缝合片体,没有成功缝合的片体涂绿色。 效果: 源码: extern DllExport void ufusr(char *param, int *returnCode, int rlen) { UF_initialize(); uc1601("缝合", 1); //体的 tag(注意不是特征的tag
阅读全文
摘要:结论:偏置的方向为曲线方向与拉伸方向的向量叉乘。 在UF_MODL_create_extrusion帮助中有这么一句话:Note that the offset direction is determined by the cross product of the direction vector
阅读全文
摘要:用那几个拉伸,不能将封闭的曲线拉伸成片体,用UF_MODL_create_extrusion函数是可以的,下面是例子。 帮助上说拉伸片体不能有拔模角度,应该是错误的,下面是一个封闭曲线带拔模角度拉伸片体的例子: 拉伸面、拉伸封闭曲线成片体效果: 源码: extern DllExport void u
阅读全文
摘要:修改dlx名称, 修改对话框标题的方法: theDialog->TopBlock()->FindBlock("Dialog")->GetProperties()->SetString("Label","欢迎加入二次开发QQ群:753801561"); 效果:
阅读全文
摘要:录制修改封装删除面 DeleteFaces 1 #include <uf_defs.h> 2 #include <NXOpen/NXException.hxx> 3 #include <NXOpen/Session.hxx> 4 #include <NXOpen/BasePart.hxx> 5 #i
阅读全文
摘要:属性说明 属性 类型 描述 常规 BlockID String 控件ID Enable Logical 是否可操作 Group Logical 是否分组 Label Utfstring 标题 Show Logical 是否可见 其他 附件 Bottom Attachment Left Attachm
阅读全文
摘要:定义: NXOpen::BlockStyler::BlockDialog* theDialog; theDialog->PerformApply();//执行应用并重新启动对话框。 theDialog->show();//启动对话框。
阅读全文
摘要:属性说明 属性 类型 描述 常规 BlockID String 控件ID Enable Logical 是否可操作 Group Logical 是否分组 Label Utfstring 标题 Show Logical 是否可见 其他 附件 Bottom Attachment 底部 Left Atta
阅读全文
摘要:属性说明 属性 类型 描述 常规 BlockID String 控件ID Enable Logical 是否可操作 Group Logical 是否分组 Label Utfstring 标题 Show Logical 是否可见 其他 附件 Bottom Attachment 底部 Left Atta
阅读全文
摘要:属性说明 属性 类型 描述 常规 BlockID String 控件ID Enable Logical 是否可操作 Group Logical 是否分组 Label Utfstring 标题 Show Logical 是否可见 其他 附件 Bottom Attachment 底部 Left Atta
阅读全文
摘要:属性说明 属性 类型 描述 常规 BlockID String 控件ID Enable Logical 是否可操作 Group Logical 是否分组 Label Utfstring 标题 Show Logical 是否可见 其他 附件 Bottom Attachment 底部 Left Atta
阅读全文
摘要:属性说明 属性 类型 描述 常规 BlockID String 控件ID Enable Logical 是否可操作 Group Logical 是否分组 Label Utfstring 标题 Show Logical 是否可见 其他 附件 Bottom Attachment 底部 Left Atta
阅读全文
摘要:属性说明 属性 类型 描述 常规 BlockID String 控件ID Enable Logical 是否可操作 Group Logical 是否分组 Label Utfstring 标题 Show Logical 是否可见 其他 附件 Bottom Attachment 底部 Left Atta
阅读全文
摘要:属性说明 属性 类型 描述 常规 BlockID String 控件ID Enable Logical 是否可操作 Group Logical 是否分组 Label Utfstring 标题 Show Logical 是否可见 其他 附件 Bottom Attachment 底部 Left Atta
阅读全文
摘要:属性说明 属性 类型 描述 常规 BlockID String 控件ID Enable Logical 是否可操作 Group Logical 是否分组 Label Utfstring 标题 Show Logical 是否可见 其他 附件 Bottom Attachment 底部 Left Atta
阅读全文
摘要:属性说明 属性 类型 描述 常规 BlockID String 控件ID Enable Logical 是否可操作 Group Logical 是否分组 Label Utfstring 标题 Show Logical 是否可见 其他 附件 Bottom Attachment 底部 Left Atta
阅读全文
摘要:属性说明 属性 类型 描述 常规 BlockID String 控件ID Enable Logical 是否可操作 Group Logical 是否分组 Label Utfstring 标题 Show Logical 是否可见 其他 附件 Bottom Attachment 底部 Left Atta
阅读全文
摘要:属性说明 属性 类型 描述 常规 BlockID String 控件ID Enable Logical 是否可操作 Group Logical 是否分组 Label Utfstring 标题 Show Logical 是否可见 其他 附件 Bottom Attachment 底部 Left Atta
阅读全文
摘要:属性说明 属性 类型 描述 常规 BlockID String 控件ID Enable Logical 是否可操作 Group Logical 是否分组 Show Logical 是否可见 对齐 PointOverlay Logical 是否显示捕捉点 SmartUpdateOption Enum
阅读全文