- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to compose a batch file for opening a drawing in the desired AutoCAD application (for instance AutoCAD Vanilla, AutoCAD Mechanical or DWG TrueView 202x). The drawing file name and application would be parameters to the batch file. The idea is that if an instance of the selected application is open, the drawing is opened in a new tab there, otherwise the application is to be launched.
Normally, we launch these applications with, for instance:
“C:\Program Files\....\acad.exe” /p “profile.arg” /product ACADM”
But this line will launch a new instance every time it is run.
From what I have found online, it seems that using the DWG Launcher is the way to go, in order to open the drawing in a new tab. However, DWG launcher will launch the last used Autodesk application and configuration. Since we use several different Autodesk applications, I need to launch the desired application specifically, and preferably with certain additional parameters in order to use our profile. No matter which Autodesk application is the last used.
How can this be accomplished?
Solved! Go to Solution.