Project template for objectarx 2025

Project template for objectarx 2025

john4TMYX
Enthusiast Enthusiast
3,165 Views
11 Replies
Message 1 of 12

Project template for objectarx 2025

john4TMYX
Enthusiast
Enthusiast

Hi guys,

Does anyone know whether there is a project template for objectarx 2025? I want to create a new project, using MFC, C++ with visual studio 2022? I have searched the web, I can't find any. Could you please post the link?

 

thank you

Regards

John

0 Likes
Accepted solutions (2)
3,166 Views
11 Replies
Replies (11)
Message 2 of 12

2557003216
Advocate
Advocate
Accepted solution

The ObjectARX 2025 Wizard has been forgotten(or deprecated?), you can try generating it with the ObjectARX 2024 Wizard and modify the vcxproj and props files. I found a tutorial that you can take a look at.

How to migrate an AutoCAD based application to .NET Core 8.0 [Part I] - Autodesk OEM / AutoCAD OEM -...

0 Likes
Message 3 of 12

daniel_cadext
Advisor
Advisor
Accepted solution

I haven’t used the wizards for a while, ObjectARX 2024 wizards should get you what you need

Worst case, you may have to change the build tools from 142 to 142 and change SDK path

Python for AutoCAD, Python wrappers for ARX https://github.com/CEXT-Dan/PyRx
0 Likes
Message 4 of 12

jgemmaQ4WZY
Explorer
Explorer

From 142 to 142???

0 Likes
Message 5 of 12

jgemmaQ4WZY
Explorer
Explorer

Would  be nice if Autodesk would advertise/acknowledge this - seems like this thread is the only publicly available source that says "ObjectARX 2025 Wizard is broken"

0 Likes
Message 6 of 12

moogalm
Autodesk Support
Autodesk Support
0 Likes
Message 7 of 12

jgemmaQ4WZY
Explorer
Explorer

... I can download the Wizard fine... the problem is: it does nothing.

 

This was documented above in June and seemingly nothing has been said or done about it by Autodesk.

 

I cannot successfully use the 2025 ObjectARX Wizard to create an ObjectARX project in VS Community 2022 - in fact it does not even show up when looking for 'Autocad' in the project creation menu - Only the 2024 ARX/DBX Wizard shows up even when I only have the 2025 Wizard installed (i think Visual Studio thinks it is the 2024 one for some reason), and trying to use this only gets me as far as clicking the "Create" button at the lower right hand of the project/solution naming screen - Clicking "Create" does nothing except gray out the create button for a few seconds.

I had Objectarx 2025 sdk extracted to "C:\ObjectARX"


And the wizard installed from command line as administrator to the same folder "C:\ObjectARX"

I have now reinstalled VS Community, .NET 8.0, ObjectARX 2025, and the ObjectARX 2025 Wizard. Visual Studio no longer gives me any option to create an ARX/DBX project.

0 Likes
Message 8 of 12

moogalm
Autodesk Support
Autodesk Support

Hi,
Can you try following steps.

 

 

  1. Open an Elevated Command Prompt (Preferably VS 2022 Developer Command Prompt):

    • Open a command prompt with administrator privileges (an "elevated" command prompt) to ensure all commands have the required permissions.
    • Ideally, use the VS 2022 Developer Command Prompt. This command prompt comes with the environment settings needed for Visual Studio development, making it better suited for this task.
  2. Confirm You Installed with Admin Privileges:

    • Ensure the previous installation was done with administrator rights, as this may affect certain permissions and configurations.
  3. Run the MSI Installation Command:

    • Execute the following command to install the ObjectARXWizard.msi file and create an installation log:

      msiexec /i bin\Release\ObjectARXWizard.msi /l*v bin\Release\install.log

       

      • msiexec /i: This installs the MSI package.
      • bin\Release\ObjectARXWizard.msi: Path to the MSI installer file.
      • /l*v bin\Release\install.log: Creates a detailed log file at bin\Release\install.log to help troubleshoot if there are issues.
  4. Clear Visual Studio 2022 Cache (if necessary):

    • If you encounter issues or want to ensure that Visual Studio picks up the new installation, you may need to refresh Visual Studio’s configuration by running this command:

      devenv /updateconfiguration

    • devenv /updateconfiguration refreshes Visual Studio’s configuration and clears cached data, ensuring that any recent changes or installations are recognized.

This process should help you install ObjectARXWizard.msi properly and ensure Visual Studio 2022 is configured to recognize it.

moogalm_0-1730918522059.png

 

0 Likes
Message 9 of 12

jgemmaQ4WZY
Explorer
Explorer

Seems to have worked...

For the install used the line:

msiexec /i C:\ObjectARX\CDROM1\ObjectARXWizard.msi /l*v C:\ObjectARX\CDROM1\install.log

 

As I am on Windows with no bin folder and did not want to create one. Also, ObjectARX 2025 SDK was already extracted to C: ...

 

My Steps:


1. Start VS Community as an administrator (not sure if necessary)
2. Use the Developer Command Prompt to run the install line and reload dev environment

  • Open VS -> click 'Continue without code' below "Get Started" menu
  • In the menu bar: 'Tools' -> 'Command Line' -> 'Developer Command Line')

    I know this is documented elsewhere, but the ObjectARX 2025 install problems are not, so hopefully this helps someone in the future
    OR
    maybe Autodesk will improve the process here...

In my opinion there is not a good excuse on Autodesk's end as to why I've spent the better part of my day trying to get this to work

 

Using the 2024 Wizard is as simple as: download and extract the SDK, download, extract, and install the wizard, and it is available and working in VS Community.

^I just fact checked myself - I was able to get the 2024 wizard installed again with just downloading, extracting, and running the install command normally, but I also had to run 

devenv /updateconfiguration

again - I think this is covered as I believe the Autodesk docs ask the user to reboot after initial install of the SDK and wizard

I had begun using this SDK as I was following the 'My first plugin' lessons (I know, those are not written with ObjectARX C++), but it had been a while... I dove into the ARXDOCS and have been solely researching for the past few weeks - went to test my knowledge and try to build something simple for AutoCAD 2025 this morning which is when I got stuck.

Thank you for your help and apologies for the frustration.

I recommend that you (Autoodesk) consolidate this information somewhere central and official... the instructions I initially found for running the msiexec in an elevated shell to install the Wizard, I found in a DIFFERENT AutoCAD forum about getting the ObjectARX wizard to work...

https://forums.autodesk.com/t5/installation-licensing/objectarx-wizard-2019-installs-but-doesn-t-do-...

Similar problem with 2024

https://forums.autodesk.com/t5/objectarx/objectarx-2024-wizards/m-p/12037708#M42528

Message 10 of 12

daniel_cadext
Advisor
Advisor

I use 143 for AutoCAD 2025, I have also been changing the C++ version to C++20. I think the default is something older

 

Once you have a base project setup the way you like, use visual studio’s tool to make your own template.

The only time I use the wizard these days is to add a custom object

Python for AutoCAD, Python wrappers for ARX https://github.com/CEXT-Dan/PyRx
0 Likes
Message 11 of 12

jgemmaQ4WZY
Explorer
Explorer

Noted. Thanks!

 

I'm very new to using AutoCAD as a software in general as well as CAD automation and C++ as a language... a bit in the deep end for now but I can confirm I AM learning.

 

Will get there.

Message 12 of 12

LiamMc-A
Enthusiast
Enthusiast

The fact that we have to go through such a hassle just to create a project from a template, and then Autodesk support have to rely on a third party blog to get around their own ineptitude... its quite shameful for a 64 BILLION dollar company.