.dwg explained

DWG
Extension:.dwg
Mime:application/acad
application/x-acad
application/autocad_dwg
image/x-dwg
application/dwg
application/x-dwg
application/x-autocad
image/vnd.dwg
drawing/dwg[2]
Genre:CAD
DWG ("drawing") is a format used for storing two and three dimensional design data and metadata. It is the native format for the AutoCAD Computer Aided Design package, as well as Intellicad[3] (and its variants), and PowerCAD.[4] DWG is supported non-natively[5] by several hundred other software applications.

History of the DWG format

DWG (denoted by the .dwg filename extension) was the native file format for the Interact CAD package, developed by Mike Riddle in the late 1970s[6], and subsequently licensed by Autodesk in 1982 as the basis for AutoCAD[7][8][9][10]. From 1982 to 2007, Autodesk created versions of AutoCAD which wrote no less than 18 major variants of the DWG file format, none of which is publicly documented[11].

The DWG format, has become a de facto standard for CAD drawing interoperability. It has been estimated that there are in excess of two to four billion DWG files in existence.[12]

Autodesk designs, defines, and iterates its DWG format as the base format of its applications. In addition to its applications being based on DWG, Autodesk provides a read/write library, called RealDWG[13], under selective licensing terms, for use in non-competitive applications. Several companies have attempted to reverse engineer Autodesk's DWG format, and offer software libraries which endeavor to read and write Autodesk DWG files. The Open Design Alliance[14], a non-profit consortium created in 1998 by a number of software developers (some of which were competitors to Autodesk), provides a read/write/view library, called DWGdirect. There are no open-source DWG libraries currently available, and neither RealDWG nor DWGdirect are licensed on terms that are compatible with the gnu gpl, or similar free software license.

In 1998, Autodesk added file verification to AutoCAD R14.01, through a function called DWGCHECK. This function was supported by an encrypted checksum and product code (called a "watermark" by Autodesk), written into DWG files created by the program.[15][16]. In 2006, in response to Autodesk users expereincing bugs and incompatibilities in files written by reverse-engineered DWG read/write libraries, Autodesk modified AutoCAD 2007, to include "TrustedDWG technology", a function which would embed a text string within DWG files written by the program : "Autodesk DWG. This file is a Trusted DWG last saved by an Autodesk application or Autodesk licensed application."[17] This helped Autodesk software users ensure that the files they were opening were created by an Autodesk, or RealDWG application, reducing risk of incompatibilities. [18] AutoCAD would pop up a message, warning of potential stability problems, if a user opened a 2007 version DWG file which did not include this text string.

On 22nd November 2006, Autodesk sued the Open Design Alliance alleging that its DWGdirect libraries infringed Autodesk's trademark for the word "Autodesk", by writing the TrustedDWG code (including the word "AutoCAD") into DWG files it created. In April 2007, the suit was dropped, with Autodesk modifying the warning message in AutoCAD 2008 (to make it more benign), and the Open Design Alliance removing support for the TrustedDWG code from its DWGdirect libraries.[19]

In 2006, Autodesk applied for a US trademark on "DWG", as applied to software (as distinct to its application as a file format name.) [20]. In a non-final action in May, 2007, the examining attorney refused to register the mark, as it is "merely descriptive" of the use of DWG as a file format name (for which Autodesk does not claim any trademark rights.) In September, 2007, Autodesk responded, claiming that DWG has gained a "secondary meaning," separate from its use as a file format name. [21]. As early as 1996, Autodesk has disclaimed exclusive use of the DWG mark in US trademark filings. [22]

Software which supports DWG

Free Viewers

There are no OpenSource/GNU viewers for DWG files since the licensing of the libraries needed by lx-viewer[23] now restricts their use to members of the Open Design Alliance.

Note: Autodesk DWG TrueView and Autodesk Design Review 2008 by Autodesk requires a questionnaire to be filled before downloading.

See also

Notes and References

  1. Web site: File Extension .DWG Details. FILExt - The File Extension Source. Computer Knowledge. 2007-07-12.
  2. Web site: File Extension .DWG Details. FILExt - The File Extension Source. Computer Knowledge. 2007-07-12.
  3. http://www.intellicad.org IntelliCAD® Technology Consortium: The intelligent alternative for CAD developers
  4. http://www.givemepower.de :: graebert.com - Desktop and Portable CAD Solutions ::
  5. Non-natively: i.e., the file format is supported by translation from or to another file formats.
  6. http://www.retrothing.com/2007/05/mike_riddles_pr.html Mike Riddle's Prehistoric AutoCAD - Retro Thing
  7. http://www.fourmilab.ch/autofile/www/subsection2_3_12_1.html#SECTION00312100000000000000 Existing products
  8. http://www.fourmilab.ch/autofile/www/f/246.html The Autodesk File: Footnote
  9. http://www.digibarn.com/stories/mike-riddle/index.html DigiBarn Stories: Mike Riddle & the Story of AutoCAD, EasyCAD, FastCAD & more
  10. http://www.opendesign.com/about/whtpaper/alwhtpap.htm
  11. http://betaprograms.autodesk.com/history/autocad_release_history.htm Autodesk
  12. Web site: DWG Unplugged. Autodesk, Inc.. http://web.archive.org/web/19980119080401/http://www.autodesk.com/products/autocad/dwgoem/unplgfq2.htm. 1998-01-19. With over two billion AutoCAD® DWG files worldwide.... Web site: Digital Preservation Guidance Note 4: Graphics file formats. [2007-08-31]. Brown. Adrian. 2003-07-09. PDF. UK National Archives. 11. according to current estimates there are in excess of 4 billion DWG files in existence worldwide..
  13. http://www.autodesk.com/realdwg Autodesk - Developer Center - RealDWG
  14. Originally, OpenDWG Alliance. Web site: Open Design Alliance.
  15. http://autodesk.blogs.com/between_the_lines/2005/06/how_to_tell_if_.html Between the Lines: How to identify some problem DWG files
  16. http://www.opendesign.com/dwg2007update.asp
  17. This "TrustedDWG code" is encoded into DWG files in a fashion that is not humanly readable. This may be validated by using a binary editor to search a DWG file.
  18. Autodesk originally used the term "Trusted DWG", with an embedded space. They modified it removing the space, prior to filing a US trademark application in September, 2006. See http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=77009317
  19. http://www.adskvoda.com ADSK v ODA > Home
  20. http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=78852808 Latest Status Info
  21. http://portal.uspto.gov/external/portal/tow?SRCH=Y&isSubmitted=true&details=&SELECT=US+Serial+No&TEXT=78852798# United States Patent & Trademark Office
  22. http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=75156366 Latest Status Info
  23. http://lx-viewer.sourceforge.net/ Linux Drawing Viewer - DWG and DXF support