Logo 折叠
全网首发仿真工程师项目实训
下载app
返回旧版
首页 成长助手 小邻学院 社区 发现
职业认证 企业服务 行业会议

登录解锁更多功能

还没有账号?立即注册

技术邻
技术引领职场价值
电话
0571-86682823
商务合作
service@jishulink.com
  • 全部  > 
  • CAD&结构设计

UG NX二次开发向导设置

浏览: 91562 回答: 2
对于NX6和7.默认的模版文件是VS2008,我是用vc.net05,所以把文件NX7_VB.vsz中的版本9.0改成8.0,ok,就可以用模版开发了。
Microsoft Visual Studio can be used to compile, link and debug programs on the Windows platform. There are currently three NX Wizards that have been integrated into Visual Studio and available for use with the Common API. They are:
NX Open Wizard for use with C and C++ programs (found under the VC directory)
NX Open VB Wizard for Visual Basic programs (found under the VB directory)
NX Open C# Wizard for C# programs (found under the VC# directory)
If Visual Studio has been installed on a workstation and then NX is installed locally (on the same workstation), the available NX Wizards will be installed automatically. Otherwise the following steps need to be taken to set up each of the NX Wizards on the local workstation.
  • Make sure the appropriate version Microsoft Visual Studio has been installed
  • Copy all files from the NX kit to the corresponding directories of the local Visual Studio installation. The kit is located in:
    %UGII_BASE_DIR%\ugopen\vs_files\
To determine the correct location of the Visual Studio installation, look at the productdir registry key for each language. The key for C and C++ is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\version#\Setup\VC/productdir (where version# would be 7.1, 8.0, etc). For other languages replace the VC with either VB or VC#.修改版本,文件是D:\UGS\NX70\UGOPEN\vs_files\VB\VBProjects\NX7_VB.vsz
  • For each wizard, copy any files and/or folders under each subdirectory from the kit to the Visual Studio installation. This example is for the C language so substitute VB or VC# and the appropriate subdirectory for the other languages. Copy:
    %UGII_BASE_DIR%\UGOPEN\vs_files\VC\VCWizards\拷贝这里的文件
    to
    C:/program Files\Microsoft Visual Studio 8\VC\VCWizards\
    and
    %UGII_BASE_DIR%\UGOPEN\vs_files\VC\vcprojects\拷贝这里的文件
    to
    C:/program Files\Microsoft Visual Studio 8\VC\vcprojects\
Repeat for each language.
CAD

全部回答 (2)

默认 最新
linming79 2010年4月27日
学习中~~~~~~~~~
2010年4月27日
评论 点赞
femap 2010年4月25日
补充说明%UGII_BASE_DIR%指的是ug nx安装目录
还有模型建立好后,启动vs,nx向导在vs向导的根选项,一定注意还有就是,这种方法是开发dll文件,启动ug nx,调用dll。
2010年4月25日
评论 点赞

相似问题

查看全部
  • ABAQUS子程序验证不通过,如何解决? 9个回答

    子程序验证报告如下: Abaqus Product Install Verification... Thu Jun 15 18:18:20 2017 Running system requirement checks. Requirement: Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows HPC

  • isight如何集成使用VUMAT子程序的ABAQUS案例? 3个回答

    依照相关的教程,我修改了isight的AbqConfig.txt文件使其能够读入inp文件的子程序参数 之后在abaqus组件的Execution的命令中输入以下包含子程序路径的字段abaqus.bat input=Job-2.inp job=Job-2 interactive double user="F:\FY2\GTN(1).for" 但最后计算失败,报错为: Running Isight

  • marc和Fortran子程序链接? 1个回答

    安装了vs2010、Fortran2011、Marc2013(都是C盘默认安装)之后 然后按照这个编辑了环境变量 include: C:\Program Files (x86)\Intel\ComposerXE-2011\compiler\include; C:\Program Files (x86)\Intel\ComposerXE-2011\mkl\include; C:\MSC.Softwa

推荐阅读

【精品课程】ANSA从入门到精通教程(完结)

【精品课程】ANSA从入门到精通教程(完结)

Wonderful仿真 Wonderful仿真
¥499
0#块箱梁托架法施工结构模拟

0#块箱梁托架法施工结构模拟

yudachuan1105 yudachuan1105
¥200
前沿技术!大数据分析及人工智能在优化软件中的应用

前沿技术!大数据分析及人工智能在优化软件中的应用

IDAJ中国 IDAJ中国
¥9.99
新一代智能头灯的动态设计评估与仿真

新一代智能头灯的动态设计评估与仿真

Ansys中国 Ansys中国
免费
UG培训第九课:自由曲面构造法

UG培训第九课:自由曲面构造法

luffy8610 luffy8610
¥20
应用ANSYS瞬态动力学法模拟啮合齿轮的高速转动

应用ANSYS瞬态动力学法模拟啮合齿轮的高速转动

夏日星空 夏日星空
¥35
一线科技工作者接受仿真咨询服务的全过程经验分享

一线科技工作者接受仿真咨询服务的全过程经验分享

技术邻直播 技术邻直播
免费
UG有限元基础教程

UG有限元基础教程

moonshine🤓 moonshine🤓
免费