DWF (file format)
Template:Infobox file format 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<ref>IntelliCAD Technology Consortium: The intelligent alternative for CAD developers</ref> (and its variants), and PowerCAD.<ref>:: graebert.com - Desktop and Portable CAD Solutions ::</ref> DWG is supported non-natively<ref>Non-natively: i.e., the file format is supported by translation from or to another file formats.</ref> 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<ref>Mike Riddle's Prehistoric AutoCAD - Retro Thing</ref>, and subsequently licensed by Autodesk in 1982 as the basis for AutoCAD<ref>Existing products</ref><ref>The Autodesk File: Footnote</ref><ref>DigiBarn Stories: Mike Riddle & the Story of AutoCAD, EasyCAD, FastCAD & more</ref>. 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<ref>Autodesk</ref>.
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.<ref>Template:Cite web</ref><ref>Template:Cite web</ref>
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<ref>Autodesk - Developer Center - RealDWG</ref>, 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<ref>Originally, OpenDWG Alliance. Template:Cite web</ref>, a non-profit consortium created in 1998 by a number of software developers (some of which were competitors to Autodesk), released a read/write/view library called the OpenDWG Toolkit, which was based on the MarComp AUTODIRECT libraries. (ODA has since rewritten and updated that code.) 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.<ref>Between the Lines: How to identify some problem DWG files</ref><ref>http://www.opendesign.com/dwg2007update.asp</ref>. In 2006, in response to Autodesk users experiencing 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."<ref>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.</ref> This helped Autodesk software users ensure that the files they were opening were created by an Autodesk, or RealDWG application, reducing risk of incompatibilities. <ref>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</ref> 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.<ref>ADSK v ODA > Home</ref>
In 2006, Autodesk applied for a US trademark on "DWG", as applied to software (as distinct to its application as a file format name.) <ref>Latest Status Info</ref>. 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. <ref>United States Patent & Trademark Office</ref>. As early as 1996, Autodesk has disclaimed exclusive use of the DWG mark in US trademark filings. <ref>Latest Status Info</ref>
Software which supports DWG
- progeCAD IntelliCAD (using DWGdirect)
- ArchiCAD (using DWGdirect)
- AutoCAD (using RealDWG)
- Autodesk Inventor (using RealDWG)
- Autodesk Revit (using RealDWG)
- Autodesk 3ds max (using RealDWG)
- Bricscad (using DWGdirect)
- CADian (using DWGdirect)
- Cadwork (using DWGdirect)
- DataCAD (using DWGdirect)
- IntelliCAD (using DWGdirect)
- MicroStation (using DWGdirect)
- SolidWorks (using DWGdirect)
- Tekla Structures (using DWGdirect)
- VA - Virtual Architecture (using RealDWG)
- VectorWorks (using DWGdirect)
- ViaCAD - Punch! Software (using DWGdirect)
- PowerCAD (using DWGdirect)
- ZwCAD (using DWGdirect)
- Corel Designer (using DWGdirect)
There are no open source viewers for DWG files since the licensing of the libraries needed by lx-viewer<ref>Linux Drawing Viewer - DWG and DXF support</ref> now restricts their use to members of the Open Design Alliance.
- Linux Drawing Viewer / Lx-Viewer
- Free DWG Viewer by Infograph, 14 Mb. Does not allow printing. For Windows 2000/XP.
- Autodesk Design Review 2008 (41 MB) (cannot view DWG files natively, requires DWG TrueView)
- Autodesk DWG TrueView 2008 (120 MB) For Windows XP/Vista, also 64-bit.
- Volo View Express 1.14 (discontinued and superseded by Design Review) - 26 Mb
- eDrawings Viewer by SolidWorks, 11.8 Mb. For Windows NT/2000/XP & Mac OS X 10.4+
- DWG Gateway v3 by SolidWorks, 9 Mb. (Requires any version of AutoCAD).
- Bentley View by Bentley, 58.2 Mb. For Windows 98/ME/NT/2000/XP.
Note: Autodesk DWG TrueView and Autodesk Design Review 2008 by Autodesk require a questionnaire to be filled before downloading.