UG NX二次开发向导设置
浏览:90800 回答: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.
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\
- 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\