随笔分类 -  NXOpen(C++)

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

点击右上角即可分享
微信分享提示