准备:
1.VS2019
2.autoCAD2021
3.?objectarx_for_autocad_2021_win_64bit_dlm.sfx?
4.ObjectARXWizard2021.msi;
一.安装ObjectARX SDK
1.解压缩至指定路径即可
二.安装安装ObjectARXWizard2021
此处注意,需要把路径分别指向autoCAD与ObjectArx的安装路径
三.手动修改路径
1)修改ObjectARXWizard的路径管理
C:\Program Files (x86)\Autodesk\ObjectARX 2021 Wizards\Autodesk.arx-2021.props
C:\Program Files (x86)\Autodesk\ObjectARX 2021 Wizards\ArxAppWiz\Templates\1033\Autodesk.arx-2021.props
2)修改VS project下的路径管理
VCProjects:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VC\vcprojects\Autodesk\ArxAppWiz2021.vsz
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VC\vcprojects\Autodesk\ArxAppWizOMF2021.vsz
修改ObjectARXWizard对应路径
VCProjectItems:
修改ObjectARXWizard对应的路径
四.启动VS
ok