Thursday, October 15, 2009

AutoCAD DWG Trueview 2010 OSnap fix

I am pretty happy about Autodesk releasing DWG Trueview because I can finally convert those pesky 2009 drawings down to 2004 format with ease!

So I started recommending it as a DWG viewer to my co-workers. Great! Then Autodesk went one step further and enabled the measurement tools in it!!! Success, now I don't have to compute areas for all these people!! Only one thing wrong... they have hampered the effectiveness of these tools by providing no visible way permanently TURN OFF OSNAP besides clicking on the "snap none" or _NON button every time. This problem is compounded by the fact that you cannot snap to non co-planar points when computing a 2d area. Sooo many plans have different 2D items at different elevations due to bad drafting or conversions from 3D that this cripples the effectiveness of the area tool.

So I set about to find a way to set OSMODE to 0 and let me choose when I want to osnap it up by clicking the buttons.

After poring through the files in the install directory and doing a bunch of googling I found that the osmode default variable resides in the registry, yay!! Changed the entry to "0000" and BAM! no more stupid unwanted snaps!


Here are the steps to disable OSNAP:

Jump into the registry editor using Start-Run-regedit (the registry editor is a powerful tool, don't change or delete values unless you know what you are doing!)

Navigate to:
HKEY_CURRENT_USER\Software\Autodesk\DWG TrueView\R7\DWGVIEWR-8001:409\Profiles\<>\General

Right click on the Osmode REG_DWORD and choose "Modify"

Change the value data from "1025" to "0"

Close the registry editor and load up TrueView!!

This should work with DWG Trueview 2009 as well, just replace R7 with R6 in the registry path.


Also, I found out that you can use Ctrl-V to paste certain commands into the commandline, alas OSMODE is not supported... here is a link to some of the ones that do work: http://rkmcswain.blogspot.com/2008/10/dwg-trueview-hidden-commands.html

all the entries