« Multithreading and CAD | Main | The source of competitiveness »

AutoCAD 2007 and Trusted DWG

There is an interesting thread about Autodesk's Trusted DWG over on the AutoCAD CAD manager's discussion group. It's full of lots of misinformation, conjecture, and apologist blather. (But it's still interesting.)

Trusted DWG, a new "feature" in AutoCAD 2007-based products, is a marketing term for a more aggressive variant of the DWGCHECK function that's been in AutoCAD since R14. In versions of AutoCAD from 2004 and up, the program writes an encrypted digital signature into DWG files. Upon opening a DWG file, AutoCAD 2007 checks this signature. If it isn't there (and correct), the program pops up a warning dialog box. (While it's possible that AutoCAD actually does some integrity checking in this process, my current information is that the only check it makes is for the validity of the digital signature.)

What "Trusted" means, in this context, is that AutoCAD trusts the file – not that the file is inherently more trustworthy. (That being said, 2007 DWG files do incorporate Reed-Solomon error correction, which is of particular use in correcting burst-errors resulting from media defects, such as scratched CDs. It's of no use in assuring that a DWG file is written correctly to start with, but is a real help in recovering DWG files that were damaged in storage.)

One of the significant causes of bad DWG files is poor consistency checking on the part of the application that writes the file. DWG files have many internal interrelations and critical values – and if these aren't correct when they're written, the resulting file may trip up an application that reads it later. This is true for AutoCAD (especially with ARX applications), or for any applications that can write DWG files.

The older OpenDWG Toolkit libraries (from the Open Design Alliance) relied upon application programmers to know the critical interrelations and values in the DWG files they were creating. In some cases, these programmers missed some details, and the resulting applications could write DWG files that required auditing before they could be opened. For the last several years, the Alliance's DWGdirect libraries have done this checking automatically – and as a result, applications using these newer libraries generally create very high quality DWG files.

I believe that the biggest problem with the Trusted DWG function in AutoCAD 2007 is that it is inherently anti-competitive, as it warns users about DWG files that were written by application programs from companies other than Autodesk – even if they are perfectly valid files.

Because of this, the Alliance plans to include functions for writing DWG digital signatures in the next version of our DWGdirect libraries. Applications using this version of DWGdirect will be able to write DWG files that AutoCAD-based applications will open with no error messages or warning screens.

Posted on Tuesday, June 13, 2006 at 10:10PM by Registered CommenterEvan Yares in | Comments4 Comments

Reader Comments (4)

Evan:

I apologize if there are any inaccuracies in my posts on the Autodesk discussion forum. I am simply just trying to state my argument for the releasing of the dwg specification.

Evan Replies:
I think you did an excellent job of making your points. It is the nature of such discussion groups is that the good stuff gets lost in the noise.
June 14, 2006 | Unregistered CommenterTim Riley
Hello Evan. I'm reading your blog from few weeks and the title about new version of AutoCAD grab my attenntion.
Frankly speaking this application is absolutely unnecessary. I'm a machine engineer working with I-deas and the AutoCAD drawings gives me only more problems. I don't think the AutoCAD will have any future in the PLM world.
Thanks for your kindness!
June 14, 2006 | Unregistered CommenterDimo Urumov
Evan,

Is there a simple way to either instruct AutoCAD 2007 to ignore the missing Trusted DWG signature, or use it to create one?

I exported a bunch of files from VectorWorks 12.5 to DWG and this silly warning message keeps coming up.

Thanks.
April 9, 2008 | Unregistered CommenterOriel Mor
OK. I found the DWGCHECK command and was able to get my first option. Unfortunately, that's still a less than ideal solution to my problem. I still don't know whether it's possible to make a non-AutoCAD-saved file "trusted." Can you offer any pointers on that?

Many thanks.
April 9, 2008 | Unregistered CommenterOriel Mor

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.