« REALyze | Main | CAD Cars »

AutoCAD 2007 DWG looks like bad ju-ju.

I just got a heads up on the new AutoCAD 2007 DWG file format.

It looks pretty grim

You may remember that, in 2003, when Autodesk introduced AutoCAD 2004, I said that its DWG format used encrypted headers.  Autodesk's management called me names, and said I was wrong.  I published the encryption algorithm.  And they have conveniently chosen not to comment on it anymore.

A while back, when looking at AutoCAD's DWGCHECK function, I found out that, in addition to the header encryption, AutoCAD 2004's DWG format includes a Blowfish encrypted digital signature that is not user accessible.  Think of it like a lock, for which Autodesk (and not the user) holds the key.  It could easily be used to lock-out DWG files created by third-party programs.  Autodesk says they're not doing this -- but then, they said there was no encryption in the 2004 DWG format -- a claim that they've now backed-off from.

With the AutoCAD 2007 format, the encryption appears to be an even bigger mess.  I don't have the beta version of AutoCAD 2007, however a reputable someone gave me a heads-up.  (No -- I never even asked anyone about it.  Someone just thought I ought to know.  I'm fastidious as hell about not violating Autodesk's license agreements -- but, in this case, I'm not bound by any restrictions on passing along information on AutoCAD 2007.)

My understanding is that the basic encryption in the headers has been replaced with a more advanced encryption algorithm.  I learned enough technical information about what's in this algorithm to conclude that it could be reverse-engineered  -- except that doing so would require stepping through AutoCAD's code with a debugger.  That's called "reverse engineering" -- and, since AutoCAD 2004 came out, Autodesk has made its end-user license agreement much more restrictive -- to the point where reverse-engineering is prohibited. 

Beyond this, the AutoCAD EULA now includes a "trade secret" clause, which restricts users from even describing how the product works.  By agreeing to the AutoCAD EULA (which we'd have to do to use AutoCAD to update our libraries to handle the 2007 DWG format), we'd be constrained from doing what is required to provide that support.   Read the EULA yourself -- there's a copy over in my Software Licensing Blog... at least, until Autodesk tells me that having it there is a violation of their intellectual property rights. (Don't laugh -- if you read the EULA at face value, they could make that claim.)

What's the bottom line here?  Based on what I know now, I don't think the Open Design Alliance can legally provide support for the AutoCAD 2007 file format.  By all appearances, Autodesk has got it technically and legally locked up, to where users will only be able to access DWG 2007 files with Autodesk software.  Think of it like a tax: You have to pay Autodesk for the right to access your DWG 2007 files.  I'm more than a little concerned about this -- and if you are thinking about upgrading to the new version of AutoCAD when it comes out (about March 15), you ought to be concerned too.

I'm going to continue to look at this situation, and see if there are any ways around it.  But I suspect that there will be no easy solutions.  It's pretty sad that, when even Microsoft is recognizing the importance of open data formats, Autodesk has gone in the complete opposite direction.

Posted on Wednesday, January 11, 2006 at 02:40AM by Registered CommenterEvan Yares in , | Comments21 Comments | References3 References

References (3)

References allow you to track sources for this article, as well as articles that were written in response to this article.
  • Response
    The site http://www.dotsoft.com speculates that AutoCAD 2007 could use a new file format, the 2007 format.
  • Response
    Evan Yares, lead guru at the Open Design Alliance, the guys who make libraries that read and write CAD formats like DWG, posts on his blog that the new version of AutoCAD due soon may be an Autodesk only deal.He notes that "locks" in the file format a
  • Response
    I have a love/hate relationship with Autodesk. One on hand, I love their MapGuide product . On the other hand, I hate the DWG file format. With each release, I have to worry about whether I�ll be able make Engineering�s data available...

Reader Comments (21)

My understanding is that reverse engineering to permit interoperability is specifically permitted by US and EC laws. This can be seen even in the EULA itself. This clause:

"3.2.2 Reverse Engineering. You may not reverse engineer, decompile, or disassemble the Software."

is countered by this one:

"3.2.10 Exceptions from Prohibitions. The prohibitions contained in this Section 3.2 shall not apply to actions that are expressly authorized under mandatory law (including, but not limited, to actions authorized under the fair use doctrine in Section 107 of the U.S. Copyright Act and laws implementing EC Directive 91/250 on the legal protection of computer programs) provided that You may not exercise any rights arising under such mandatory laws unless and until You have given thirty (30) days prior written notice to Autodesk to allow Autodesk, at its sole discretion, to provide an alternative remedy, e.g., information necessary to achieve interoperability of an independently created program with the Software."

which leads us to this one:

"9.4 Severability. If and to the extent any provision of this Agreement is held illegal, invalid, or unenforceable in whole or in part under applicable law, such provision or such portion thereof shall be ineffective as to the jurisdiction in which it is illegal, invalid, or unenforceable to the extent of its illegality, invalidity, or unenforceability and shall be deemed modified to the extent necessary to conform to applicable law so as to give the maximum effect to the intent of the parties. The illegality, invalidity, or unenforceability of such provision in that jurisdiction shall not in any way affect the legality, validity, or enforceability of any other provision of this Agreement in any other jurisdiction."

I consider 3.2.2 unenforceable in your case, and 3.2.10 indicates that Autodesk already knows that it is unenforceable. So, according to 9.4, the EULA can be "deemed modified", i.e. you are entitled to treat the EULA as if the unenforceable section does not exist.

In summary, go ahead and do your reverse engineering, because Autodesk is NOT ALLOWED to prevent it, as long as you are doing it for interoperability, which is clearly the case.

Autodesk may or may not have any legal basis in requiring 30 days notice, but I suggest you get your written notice in anyway. What do you think are the chances of Autodesk providing you the information necessary during that 30 day perod?

Evan Replies:

EULAs are a real minefield these days. Though the anti-reverse-engineering clauses in the Autodesk EULA would seem to be unenforceable, a recent court case, Blizzard v. BnetD, went the other way.

Section 3.2.10 of the EULA uses a few troubling words, including "expressly" and mandatory." If you look at 17 USC § 107 (the copyright act), it doesn't provide express authorization for reverse-engineering. Further, 17 USC § 1201(f) (the portion of the DMCA dealing with reverse-engineering) only relats to circumvention of technological measures that effectively control access to a particular portion of a program. AutoCAD has no such technological measures (that is, the program itself is not encrypted.)

In short, section 3.2.10 of the EULA (at least, the version for AutoCAD 2006) would appear to be carefully written to circumvent the US government's public policy allowing reverse engineering.

As for EC Directive 91/250 Article 6 would seem to offer more hope. I'm not in Europe, though. Some of the Open Design Alliance's member companies are.
January 29, 2006 | Unregistered CommenterInterested Observer
Evan -

I do have the beta of AutoCAD 2007 and I had commented in CADzette about my concern on the new dwg format. I had guessed that it was because of the new 3D kernel and the need to support that. It never occurred to me that Autodesk might have more nefarious goals in mind.

If it's OK with you I am going to point my readers towards your blog and this article as I think it is extremely important for users to be aware.

Users will still be able to set their SaveAs setting to AutoCAD 2000 to allow their drawings to work with other software. I have all the users in my company do that as a rule of thumb.
February 3, 2006 | Unregistered CommenterElise Moss
Low blow by Autodesk, definitely. Obviously they do not want to make it easy on 3rd parties.

Any comment on Bentley's new use of the 2004 Select Agreement (Sec. 5.05.a,7.04) to force users to give up rights to perpetual licenses if they drop Select.

Plenty of dirty play to go around.

Scott

Evan Replies:

Last year, I spoke at the BE Conference, and said mean things about almost all CAD vendors' licensing policies -- even Bentley. To Bentley's great credit, they're willing to stand face-to-face, and discuss issues with me. And, even when we disagree, we agree to do so. They've never tried to stab me in the back.

I find that Bentley generally is customer-centric, focusing on delivering high-value, but not necessarily low price. Like Dassault, PTC, and UGS, they can be unfairly agressive in their customer agreements -- I suppose because customers with significant investments in their software are unlikely to wholesale change. My sense in this case is that Bentley is trying to position software as a service, so I can see some logic in their policy. Do I like it? Hell no. But I think public discussion of issues is a good thing, and I'd be interested to hear what Bentley has to say.

Incidentally, I just read the Autodesk subcription agreement, and it does the same thing -- turns your perpetual license into an annual subscription. If you let it lapse, you lose all rights to use any of the software covered under it.
February 27, 2006 | Unregistered CommenterScott
I would like to point out that while you won't be able to access a native 2007 file in another program, you will be able to export it back down to 2006 and other previous DWG formats. Also, it can be saved (or exported) as other "types" of files (such as DXF). Autodesk has done similar things in the past related to their DWG file extension and the industry has always adapted. Expect to see it happen again.
February 27, 2006 | Unregistered CommenterBrian Myers
Crying in occasion of a new DWG-format, also is again distributed as well as at output AutoCAD 2004 … in my opinion, all this is done once again persuasivly to push clients to UPG on the new version so to earn some more millions dollars is a business! And this all is presented under "sauce" of protection of data and information safety … " All lady do it! ";) it is good or bad, everyone solves for himself, voting dollar …
February 28, 2006 | Unregistered CommenterSergey Garrinchev
As an Architect (not a computer genius) using Autodesk products, this encryption makes me apprehensive that in the future in order for me to access any of my archived project drawing files I will have to remain subscribed to Autodesk and a prisoner of their future price structure in perpetuity. This potential end-user enslavement does not sit well. AM I over-reacting? Is there a simple work around? Does the Open Drawing Alliance offer any viable alternatives? Thank you.

Evan Replies:

You're not over-reacting. As for viable alternatives -- that's why the Open Design Alliance exists.
February 28, 2006 | Unregistered CommenterJohn Ahern
Perhaps OpenDesign should create a free add-in for AutoCAD users that replaces the open and save dialogs, saving the data as an enhanced DWG format that has some subset of: no encryption, better file size, better error recovery, compatability with 2006 format and all earlier formats, better or more feature-rich UI, automatic saving to XML backup formats for long-term assured data availability, etc. Make it part of a free suite of sweet tools that no AutoCAD user would want to be without, so they feel like they're getting free goodies rather than being forced to add an add-on for compatability.

Evan Replies:

DWGgateway, from SolidWorks, is a start in this direction. The Open Design Alliance actually doesn't create applications, or end-user products. We create component libraries that are used by every significant CAD company in the world (including Autodesk -- though, unlike other CAD vendors, their use of our libraries is without our permission, without license from us, and against our wishes.)

In any case, in the last week, a significant number of people have talked to me about the Open Design Alliance creating an enhanced open DWG format, rather like the one you're suggesting. We could do it (after all, who knows more about CAD file formats than the Open Design Alliance and its members? One of our members *invented* DWG.) The question is whether this is the best investment of our resources. If you have an opinion, drop me an email.
February 28, 2006 | Unregistered CommenterJodawi
Whether is at Open Design Alliance real levers of influence on Autodesk? Can, not resist to "enslavement" and continue to invest in Autodesk which again will show impressing growth of incomes? It is possible to buy actions of this company and to receive not only the justification of own importance, but also dividends;) there Will be new versions AutoCAD 2008, 2009, and on 2010, we is again distressed about in a new fashion coded DWG-format;)
March 1, 2006 | Unregistered CommenterSergey Garrinchev
I am have the same opinion Elise Moss (Comments in Feb 03).

The new format is needed, many changes and new commands.

Tell me one thing, how I'm need spent to use Open Design Alliance Libraries?

Thx.

Evan Replies:
Certainly, the new format is needed. However, there is a difference between making changes that benefit users, and making changes that do not benefit users, but only serve to frustrate interoperability.

In the past, Autodesk has confused the issue. They will likely do so again.

Regarding the cost of the Open Design Alliance libraries -- they are free for personal use. The information is on the opendesign.com web site.




March 1, 2006 | Unregistered CommenterAssis Haubert
Evan - several states are now requiring open file formats for their WP type files. What effort is being done on such a CAD file format?

David William Edwards

Evan Replies:
Of course, Massachusetts was the first state to do this -- much to Microsoft's chagrin. Norway is moving in a similar direction, and the EU's recent action against Microsoft has features that are closely related to the open format issue.

In terms of US-based initiatives, several branches of the federal government are quite concerned about the issue of encrypted proprietary file formats. I've spoken to a few that are interested in having the Alliance provide a DWG validator, that will verify that a DWG file doesn't include encrypted or undocumented constructs.

Oddly, Autodesk has chosen to call their flavor of DWG, which is undocumented and contains encrypted data structures "Trusted DWG." Quoting from Wikipedia (regarding the word "trusted" in the context of computing), "In this technical sense, "trusted" does not necessarily mean the same as "trustworthy" from a user's perspective. Rather, it means that it can be trusted more fully to follow its intended programming with a lower possibility of inappropriate activities occurring that are forbidden by its designers and other software writers."

I don't know if AutoCAD's DWG lives up to that standard any more than the Open Design Alliance's DWG does. Based on what users have told us, and on Autodesk's unwillingness to provide any information on specific problems with DWG files from non-Autodesk products, I'd guess that Autodesk's claims are specious marketing hype.

(And... to answer your question... drop me an email, and I'll tell you about it.)
March 2, 2006 | Unregistered CommenterDavid William Edwards
There already is an enhanced dwg format - its called dgn!!
April 6, 2006 | Unregistered CommenterDave
We are probably one of the few major companies in the United States not directly tied to DOTs that uses MicroStation. We are almost finished with our preparatory work to upgrade to V8, which would give us greater flexibility in dealing with our consultants, who overwhelmingly work in AutoCAD.

We now have confirmation that AutoCAD 2007 has destroyed that interoperability dream for the moment. One consultant who has upgraded to 2007 cannot open a DWG file that I exported from a MS/J file in V8-2004.

My company, unfortunately, upgrades at the speed of obsolescense, so unless: 1) Bentley already has XMv2 ready to export to the new DWG format and 2) my company skips over two versions to get that 'new' version, we are stuck.

Thank you, Autodesk, for protecting your empire! Hopefully, people will tire of their extreme 'protectionist' measures and force them to play nicer with everyone.

Evan Replies:
If you ever have a DWG file, no matter what the source, that is a problem with any program that reads DWG files (including AutoCAD), I want to know about it, and find a solution to the problem. Send me the file, along with any information you have on the problem, and the program that wrote the file. I can't give guarantees, but interoperability is meaningless if it's unreliable.
April 26, 2006 | Unregistered CommenterMatt Child
It is my beliefe that both Autodesk and Bentley are both on the wrong track with the licensing/subscription model for their products. Software is not a service, software is and should be an asset to ones business. Software should not be reduced to an annual cost item in ones business plan. Software, much like the hardware it runs on should be treated as an asset.

Imagine an equipment buyer for a company telling the boss, the new equipment I just purchased will only run for one year! Now see that guy with his pink slip, after the boss asked why didn't you spend the money on equipment (assets) that would last at least as long as the IRS allows for depreciation on that equipment. I have been using both companies products since 1985, and the fact is that neither company has issued a version of their product that one had to have the instant it was released.

Recntly all of that has changed, at least as far as Autodesks' products are concerned. With 07 version comes the third in a series of rapidly altered DWG formats. The format changes have been argued as required to provide encreased functionality. The reality is the format changes have been required to force users to retire their assets before the end of their normal usefull life because of interoperablity issues. Recently I have taken to calling these rapid releases and forced upgrades the most succesful virus ever written. The upgrade virus is so good users (subscribers) willingly install it themselves.

The subscription program is a great revenue stream generator; which is great if you own stock in Autodesk. The subscription program is a great delivery mechanism for the Upgrade Virus. The subscription program is not for the good of the customer or your business as it reduces your assets to a cost item. The end users of Autodesks products are partly to blame for this sad state of affairs, they also have the power to regain some control. Cancel your subscription, and do not renew it. Take back the financial control and force Autodesk to deliver a more thoroughly tested, and significantly improved product to the marketplace. The only way this will happen is if the majority of users do not sign-on to the subscription program, and do not upgrade to this latest version of the Upgrade Virus. Personally I'm willing to wait 2-3 years between upgrades, if the product is improved and fully functional as advertised.

I am not willing to give Autodesk my money today for the promise of an improved product in the future; so far they haven't delivered on this promise. And as they already have the subscribers money in-hand they have no free market pressures to deliver a better product.
June 2, 2006 | Unregistered CommenterMichael Farrell
Ok guys.You have managed to scare me and I barely know what you're talking about.I am an old school home designer who has tried a lot of other CAD programs that just didn't fit-so I decided to learn Autocad after many years of angst.I am taking a class and getting ready to drop big bucks on Autocad software to efficiently design houses.I don't like the subscription idea either-But what is the alternative to Autocad? I have tried many others and they were as difficult-if not more difficult than Acad.Guidance or help is much appreciated.
June 2, 2006 | Unregistered CommenterFrank Fedel
I went to a AutoCAD rollout today and asked them about the 2007 dwg format and its compatibility with lets say Microstation.
The answer to my question (can a Microstation created dwg still be read in AutoCAD 2007) was "No problem". So what is going on here? I have multiple platforms within the company and architects that we work with on multiple platforms as well, I cannot afford updating to 2007 if that will block communication?
Or did I misunderstand something here?
June 6, 2006 | Unregistered CommenterAlex Koepl
Is it not clear to any reasonably-minded person that the time has come to spring from the technology trap that mainstream design software has become?

It is a fallacy to believe that the best software should also be the most expensive. Ten years ago there were no real alternatives. Things have changed. Of course it is difficult to discard decades of investment in expertise built on a particular system. But when a software producer starts to exploit that commitment it is imperative for professionals to start considering their options.

I don't buy the argument that I will not be competitive if I don't continue to use Big Brother's software. How competitive can I be if I use the same system as everybody else? Competitiveness comes from building customised workflows that facilitate the particular design ethos of your company. Instead of spending a fortune on the next round of expensive upgrades, smart companies should start to invest in customised workflows. And those could be built on a variety of alternative technologies. Upgrading software is a stupid way of ensuring interoperability. There are other options.

Of course it will not be easy or inexpensive in terms of retraining and implementation. That's the reason why Big Brother can keep you locked into using his software. But for those who can liberate themselves from this situation there lie real long term benefits. Smaller companies have real opportunities now to embrace alternative workflows that will make them more agile and attractive in the marketplace.

Take the trouble to research your alternatives. And don't make the mistake of trying to find a single solution that will do everything. Instead find component applications that complement the way your organisation works. Employ a competent expert or programmer to tie these together with the primary design software component. Spend the money on training not on the tools. You will be surprised at what could be achieved.
June 12, 2006 | Unregistered CommenterToxicVoxel
The saving process in AutoCAD 2007 is the same as any other. Just change the extension to any of the 2000+ programs.
December 4, 2006 | Unregistered CommenterJim
The saving process may be simple but there are commands that do not translate back down because they have been re-written in 2007, such as DVIEWTWIST. Drawings that have been saved down open up with the object in the viewport zoomed to extents because the DVIEWTWIST command from 2007 does not translate back down to 2000. There are a few other problem commands as well.
December 8, 2006 | Unregistered Commenterlimart
ProgeSOFT's IntelliCAD can now read and write AutoCAD 2007 file format. Refer to www.progesoft.com or www.progesoft.us
January 6, 2007 | Unregistered CommenterGK
At the architect's practice where I work, we recently ran into serious issues with interoperability between Autocad 2006 and 2007 versions. Even though both versions are set to save in 2004 format as default, the "edit block in place" -command stops from working if the same file is edited in two different versions. I might be wrong here, but after digging around in the internet and calling the vendor, the only logical conclusion seems to be that Autodesk intentionally caused this problem, or decided to ignore it, in order to get people to buy the upgrade.
May 12, 2007 | Unregistered CommenterJan the Architect

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.