from Civil to Inventor

The Autodesk enthusiast exile

Autodesk – DWG Launcher wigged out fix

7/8/2009

Please remember we have moved to http://johnevansdesign.net Come visit us there.

This has been a pain in numerous people’s sides for a long time.  One day you love it and the next day you hate it. 

The DWG Launcher

This gizmo is the thing that loads the drawings from remote requests, based on the registered DWG extension. AcLauncher.exe

Since Autodesk is trying to spread it’s trademarked use of DWG to numerous platforms, it needs some flexible way to allow users to open the DWG easily through explorer and other applications. 

How this works

When the OS sees a DWG file request sent, it uses the DWG registered app to open it with. In this case it is the DWG Launcher. The application uses registry entries to figure out which version of what application to use.  It is fairly simple, except there is nothing evident about it, and it gets fouled up. 

The registry settings governing this work something like a flow chart:

  1. Windows initiates default dwg app ->DWG Launcher
  2. Launcher reads shell DWG default Application –> AutoCAD
  3. Launcher goes to AutoCAD and reads launch instruction –> AutoCAD r18 exe path
  4. Launcher executes launch statement with requested dwg file

image

Most users will never have a problem with this since they only use 1 type of DWG application.  Actually, most users of differing DWG apps never have a problem. 

The Problem

When things get fouled up, it is usually over which application is ‘On Top’.  In the case of this example, Inventor is the app ‘On Top’.  The DWG Launcher will always use Inventor to open the dwg, no matter what you do.  This is not what I want.

This happened numerous times when Inventor 2009 was installed after other apps including AutoCAD and Inventor 2010.  I suspect other combinations will trigger this due to the comments I read on line.

I can’t have Inventor opening 20 gig AutoCAD Civil 3D files, which by the way it does quite well.  What I need is a way to resolve this.

The Solution

It just so happens that there are 3 ways to get this done.

First is through the registered default program for the dwg extension.  “I don’t know WHAT is going on, but just make AutoCAD 2010 open all drawings, regardless..”.  No Problem:

  • Control Panel-> Default Programs-> Associate a file type….
  • Select the dwg extension, and modify the file to be the installed path of the program you want to use.

The next time you double click a dwg file in explorer, you will get AutoCAD 2010.  If you want anything else, you’ll have to start the program first, and then open the file from there.  This is completely inconvenient, and I’d rather not do this.

Second, we can get the DWG Loader using the correct app through the registry:

  • HKCU\Software\Autodesk\DwgCommon\shellex\apps\
  • The keys for the respective Associated DWG capable programs are contained under this entry. Copy the key name for the app you do want.

image

  • Paste that into the default field

image

Next time you double click a dwg file, Some kinda’ AutoCAD will execute.  The question is “What kinda’ AutoCAD will that be?”

That brings us to the last solution, the version.  When a version of AutoCAD is executed, that version information is updated in that key name we copied.  Let’s expand that key.

image

We don’t have to change everything, just the Open Launch string.

image

Now when the DWG Loader checks, it will execute AutoCAD 2009.  Once that happens, the entire key will be edited for the 2009 app that was just executed.

There are a lot of possibilities for these kinds of errors, and I can’t know of test them all.  In the event that this doesn’t get yours, post a comment here, and tell us what is going on.

Advertisements

July 6, 2009 - Posted by | AutoCAD Civil 3D, Inventor | , , , , , , , , , ,

5 Comments »

  1. […] I have multiple versions of multiple Autodesk applications installed, and we know that installing certain ones out of order can lead to registry problems.  Drawing Launcher article […]

    Pingback by Civil 3D – 2010 Update 1 resolution | Design and Motion | December 23, 2010 | Reply

  2. Thank you! This was driving me crazy…

    Comment by Tom | May 2, 2011 | Reply

  3. Cheers man!

    Thank you!

    Comment by Wasinix | June 15, 2011 | Reply

  4. I’m dealing with a computer that has AutoCAD 2009 and a few versions of TruView on it (Vista)…
    It had the .dwg filetype associated with acad.exe so I changed that to ACAD DWG Launcher, checked that the default key in the registry was correctly pointing to Autocad

    It still opens up new instances of AutoCAD with every drawing double-clicked in explorer… (AutoCADs SDI and Taskbar values are both set to 0)

    I know this post is way old but hopefully You have some ideas.

    Comment by henry cannon | December 8, 2011 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: