We are beginning to roll out AutoCAD 2009. We currently have AutoCAD 2008 on our users PC's. So far, my PC is the only one with both.
Additionally, The install sequence was such that InRoads V8i Ss2 was installed after 2008 but before 2009. I also had DWG TrueView 2010 installed, so when I open the Select CAD Platform dialog box, It looks like this:
My question is three parts:
Hi Chuck,
The list is showing 2008/2009 because they use one .ARX file to start and the 2010/2011 uses a different .ARX file.
As an example using 2008/2009 AutoCAD
• In AutoCAD, we look at HKEY_CLASSES_ROOT\ CLSID\{28B7AA99-C0F9-4C47-995E-8A8D729603A1}\LocalServer32 and extract the path to the last activated AutoCAD.
In AutoCAD 2008/2009, the software gets the path to the AutoCAD executable from the registry (the same way as described above). Then it creates a startup.scr file in the user’s temp directory containing the following entry:
(xload "drive:\Program Files\Bentley\InRoads Group\bin\CivAcadAT.arx")
Then it kicks off the AutoCAD executable with a command line option that looks like:
“c:\Program Files\AutoCAD 2009\acad.exe” –b c:\temp\startup.scr
So which of the options you get are determined by the AutoCAD last used.
Regards,
Mike
That's almost magic! (Wink, wink)
I can use this info to make icons to start various products.
I've used registry scripts and command line registry edits in the past and am looking into doing it again.
One thing I need is to swap my project defaults for AutoCAD to fixed path projects and back to CFG driven paths for MicroStation.
At least now I know what a user needs to do if the wrong AutoCAD starts up.
Charles (Chuck) Rheault CADD Manager
MDOT State Highway Administration