Autodesk ObjectARX
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Can not get arx file to autoload in AutoCAD Mechanical 2013
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
We have a small arx program that adds a bunch of commands to AutoCAD. I have recompiled the program using VS 2010, and the program works fine when loaded using appload (the commands register and work). Now I am trying to autoload the program by adding registry entries in HKLM\SOFTWARE\Autodesk\AutoCAD\R19.0\ACAD-B005:409
Solved! Go to Solution.
Re: Can not get arx file to autoload in AutoCAD Mechanical 2013
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Does the (arx) function show that your ARX module is loaded? Have you checked the debugger output while the module loads?
Owen Wengerd
ManuSoft
Re: Can not get arx file to autoload in AutoCAD Mechanical 2013
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks that lead to the solution. The arx function showed that the arx program was loaded, but the group wasn't. I looked at the code and there was a section in AcRx::kInitAppMsg: where the comands would only be registered if the window was visible (if (::IsWindowVisible(adsw_acadMainWnd())){). For some reason this returns false in AutoCAD 2013. I commented this check out, and now it works. Now I just have to figure out why this check was added :-)
Thanks!
