This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)(Learn how and when to remove this template message)
|Internet media type||
|Developed by||Autodesk, Open Design Alliance and others|
|Type of format||Computer-aided design|
DWG (from drawing) is a proprietary binary file format used for storing two- and three- dimensional design data and metadata. It is the native format for several CAD packages including DraftSight, AutoCAD, IntelliCAD (and its variants), Caddie and Open Design Alliance compliant applications. In addition, DWG is supported non-natively by many other CAD applications. The .bak (drawing backup), .dws (drawing standards), .dwt (drawing template) and .sv$ (temporary automatic save) files are also DWG files.
|Version||Internal version||AutoCAD versions|
|DWG R1.0||MC0.0||AutoCAD Release 1.0|
|DWG R1.2||AC1.2||AutoCAD Release 1.2|
|DWG R1.40||AC1.40||AutoCAD Release 1.40|
|DWG R2.05||AC1.50||AutoCAD Release 2.05|
|DWG R2.10||AC2.10||AutoCAD Release 2.10|
|DWG R2.21||AC2.21||AutoCAD Release 2.21|
|DWG R2.22||AC1001, AC2.22||AutoCAD Release 2.22|
|DWG R2.50||AC1002||AutoCAD Release 2.50|
|DWG R2.60||AC1003||AutoCAD Release 2.60|
|DWG R9||AC1004||AutoCAD Release 9|
|DWG R10||AC1006||AutoCAD Release 10|
|DWG R11/12||AC1009||AutoCAD Release 11, AutoCAD Release 12|
|DWG R13||AC1012||AutoCAD Release 13|
|DWG R14||AC1014||AutoCAD Release 14|
|DWG 2000||AC1015||AutoCAD 2000, AutoCAD 2000i, AutoCAD 2002|
|DWG 2004||AC1018||AutoCAD 2004, AutoCAD 2005, AutoCAD 2006|
|DWG 2007||AC1021||AutoCAD 2007, AutoCAD 2008, AutoCAD 2009|
|DWG 2010||AC1024||AutoCAD 2010, AutoCAD 2011, AutoCAD 2012|
|DWG 2013||AC1027||AutoCAD 2013, AutoCAD 2014, AutoCAD 2015, AutoCAD 2016, AutoCAD 2017|
|DWG 2018||AC1032||AutoCAD 2018|
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, and subsequently licensed by Autodesk in 1982 as the basis for AutoCAD. From 1982 to 2009, Autodesk created versions of AutoCAD which wrote no fewer than 18 major variants of the DWG file format, none of which is publicly documented.
The DWG format is probably the most widely used format for CAD drawings. Autodesk estimates that in 1998 there were in excess of two billion DWG files in existence.
There are several claims to control of the DWG format. As the biggest and most influential creator of DWG files it is Autodesk who designs, defines, and iterates the DWG format as the native format for their CAD applications. Autodesk sells a read/write library, called RealDWG, 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 to read and write Autodesk DWG files. The most successful is Open Design Alliance, a non-profit consortium created in 1998 by a number of software developers (including 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.)
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. In 2006 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." This helped Autodesk software users ensure that the files they were opening were created by an Autodesk, or RealDWG application, reducing risk of incompatibilities. 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.
In 2008 the Free Software Foundation asserted the need for an open replacement for the DWG format, as neither RealDWG nor DWGdirect are licensed on terms that are compatible with free software license like the GNU GPL. Therefore, the FSF placed the goal 'Replacement for OpenDWG libraries' in 10th place on their High Priority Free Software Projects list. Created in late 2009, GNU LibreDWG is a free software library released under the terms of the GNU GPLv3 license. Despite being currently under development, it can read most parts of DWG files from version R13 up to 2004.
Also in 2008 Autodesk and Bentley Systems agreed on exchange of software libraries, including Autodesk RealDWG, to improve the ability to read and write the companies' respective DWG and DGN formats in mixed environments with greater fidelity. In addition, the two companies will facilitate work process interoperability between their AEC applications through supporting the reciprocal use of available Application Programming Interfaces (APIs).
On 13 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 watermark (including the word "AutoCAD") into DWG files it created. Nine days later, Autodesk's attorneys won a broad and deep temporary restraining order against the Open Design Alliance. In April 2007, the suit was settled, essentially on Autodesk's terms, with Autodesk modifying the warning message in AutoCAD 2008 (to make it somewhat less alarming), and the Open Design Alliance removing support for writing the TrustedDWG watermark from its DWGdirect libraries. The effect of the temporary restraining order and subsequent consent decree was to render the Open Design Alliance's DWGdirect libraries, from one point of view, incapable of creating DWG files that are 100% compatible with AutoCAD. Others point out that the failure of "100% compatibility" means only that loading such a drawing triggers an essentially irrelevant warning message when the file is opened in AutoCAD.
In 2006, Autodesk applied for registration of US trademarks on "DWG", "DWG EXTREME", "DWG TRUECONVERT", "REALDWG", "DWGX", "DWG TRUEVIEW". As early as 1996, Autodesk has disclaimed exclusive use of the DWG mark in US trademark filings. Out of these applications, only TRUSTEDDWG has been registered as a trademark by the USPTO. The REALDWG and DWGX registrations were opposed by SolidWorks. The DWG EXTREME, DWG TRUECONVERT, and DWG TRUEVIEW trademark registration applications all received substantial resistance, with the USPTO examining attorney requiring Autodesk to disclaim exclusive use of DWG as a condition for their registration.
In a non-final action in May, 2007, the USPTO examining attorney refused to register the two DWG marks, as they are "merely descriptive" of the use of DWG as a file format name. In September, 2007, Autodesk responded, claiming that DWG has gained a "secondary meaning," separate from its use as a generic file format name.
As of June 22, 2008, all of Autodesk's DWG-related trademark registration proceedings were suspended by the USPTO, pending disposition of trademark opposition and cancellation petitions Autodesk had filed against the Open Design Alliance and Dassault Systèmes SolidWorks Corporation. The USPTO office actions notifying Autodesk of this noted that Autodesk was not the exclusive source of files with the format name DWG, and Autodesk does not control the use of DWG by others, either as a trademark or as a file format name, among other points.
In 2006, Autodesk filed an opposition with the USPTO to the trademark registration of DWGGATEWAY by SolidWorks. Autodesk subsequently filed a petition for cancellation of SolidWorks' trademark registration for DWGEDITOR. In both cases, Autodesk's basis was that they had "been using the DWG name with its CAD software products since at least as early as 1983." The opposition and cancellation actions were consolidated, and suspended pending disposition of Autodesk's US District Court suit against SolidWorks.
In early 2007, Autodesk petitioned the USPTO to cancel the Open Design Alliance's "OpenDWG" trademarks, claiming that they had been abandoned. This cancellation action was suspended pending disposition of Autodesk's US District Court suit against SolidWorks.
In 2008, Autodesk sued SolidWorks in US District Court, arguing that through its marketing efforts, the term "DWG" has lost its original generic meaning and taken on a secondary meaning referring specifically to Autodesk's proprietary drawing file format, and therefore any use of "DWG" in competitive products amounted to trademark infringement. In January, 2010, on the morning that trial was scheduled to begin, Autodesk and SolidWorks settled the suit, with SolidWorks acknowledging Autodesk's trademark rights for DWG, surrendering its trademark registrations for its DWG related projects, and withdrawing its opposition to Autodesk's DWG-related trademark registrations.
In April, 2010, Autodesk and the Open Design Alliance settled their suit, with the Open Design Alliance agreeing to cancel its DWG-based trademark registrations and cease use of DWG and DWG-based trademarks in its product marketing and branding. Because there was no adjudication in either case, the agreements between the parties are not binding upon the USPTO. In March, 2010, the Office of the Deputy Commissioner for Trademark Examination Policy at the USPTO determined that evidence submitted by the Open Design Alliance two years earlier was relevant and supported a reasonable ground for refusal to register DWG as a trademark.
DWG is merely descriptive of applicant's goods under Section 2(e)(1) of the Trademark Act for two reasons: (1) DWG is a recognized abbreviation for “drawing," and (2) .dwg is a file format used for computer-aided design (CAD) drawings made both with applicant's CAD software and others' CAD software.
In late 2014 Autodesk again lost, this time at the United States District Court for the Eastern District of Virginia. The judge dismissed all their arguments.
In 2015 Autodesk's website has a section title About DWG in which they try to make a distinction between .dwg as a file format and the DWG technology environment.
DWG Support in Freemium and Free Software
As neither RealDWG nor DWGdirect are licensed on terms that are compatible with free software licenses like the GNU GPL, in 2008 the Free Software Foundation asserted the need for an open replacement for the DWG format. Therefore, the FSF placed the goal 'Replacement for OpenDWG libraries' in 10th place on their High Priority Free Software Projects list. Forked in late 2009 from libDWG as GNU LibreDWG project it can read most parts of DWG files from version R13 up to 2004. But as the libreDWG library is released under the GNU GPLv3 it can't be used by most targeted FOSS graphic software, like FreeCAD, LibreCAD and Blender, due to a GPLv2/GPLv3 license incompatibility. Due to this struggles in September 2013, the original project LibDWG re-forked its code from LibreDWG. A GPLv2 licensed alternative is the libdxfrw project, which can read simple DWGs.
Teigha Viewer is a freeware stand-alone viewer for .dwg and .dgn files built on the Teigha development platform from the Open Design Alliance. It runs on Windows, Linux, MacOS and Android operating systems.
Autodesk DWG TrueView is a freeware stand-alone DWG viewer with DWG TrueConvert software included, built on the same viewing engine as AutoCAD software. The freeware Autodesk Design Review software adds a possibility to open DWG files in Design Review to take advantage of measure and markup capabilities, sheet set organization, and status tracking.
DWG files can be displayed online by ShareCAD, a free online viewer. This service also offers a free IFrame plug-in for viewing DWG files at a site.
- AutoCAD DXF
- Comparison of CAD software
- Comparison of CAD, CAM and CAE file viewers
- Design Web Format
- Open Design Alliance
- "What's up with DWG adoption in free software?". Libre Graphics World. Retrieved 15 April 2015.
- "Guides to Good Practice: Cad_3-2". Archaeology Data Service. Retrieved 15 April 2015.
- "Mike Riddle's Prehistoric AutoCAD - Retro Thing". Archived from the original on 2009-06-14. Retrieved 2009-06-11.
- "Existing products". Archived from the original on 2009-06-14. Retrieved 2009-06-11.
- The Autodesk File: Footnote
- "DigiBarn Stories: Mike Riddle & the Story of AutoCAD, EasyCAD, FastCAD & more". Archived from the original on 2009-06-14. Retrieved 2009-06-11.
- "Autodesk blog". Archived from the original on 23 March 2010. Retrieved 30 March 2010.
- Autodesk, Inc. "DWG Unplugged". Archived from the original on 1998-01-19.
With over two billion AutoCAD DWG files worldwide...
- DWG: The Registration Attempts & Successes from WorldCAD Access
- Autodesk - Developer Center - RealDWG
- Originally, OpenDWG Alliance. "Open Design Alliance". Archived from the original on 2007-06-22.
-  Archived December 27, 2008, at the Wayback Machine.
- Between the Lines: How to identify some problem DWG files
-  Archived April 17, 2007, at the Wayback Machine.
- 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.
- 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, tarr.uspto.gov
- FSF promotes need for open DWG packages
- GNU LibreDWG
- "Autodesk and Bentley to Advance AEC Software Interoperability". 2008-07-08. Archived from the original on 27 February 2009. Retrieved 2009-01-01.
- Autodesk v. ODA
- Autodesk v. ODA See line 35, Transcript
- Autodesk v. ODA See line 50, Consent Judgment
- "Latest Status Info". Archived from the original on 2009-09-13. Retrieved 2009-09-10.
- Latest Status Info
- Latest Status Info
- Latest Status Info
- Latest Status Info
- Latest Status Info
- Latest Status Info
- DWG TrueConverter USA.autodesk.com
- Latest Status Info
- United States Patent & Trademark Office
- "dwg#page1.tif" (PDF). Archived (PDF) from the original on 2009-09-13. Retrieved 2009-09-10.
- "Docket -> 3:08-cv-04397 (Autodesk v. SolidWorks)". Archived from the original on 2009-09-13. Retrieved 2009-09-10.
- Complete text of Autodesk's press release - WorldCAD Access
- ODA Members | Open Design Alliance
- United States Patent & Trademark Office
- "Latest Status Info". USPTO. Retrieved 24 September 2011.
- Grabowski, Ralph. "WorldCAD Access". Retrieved 24 September 2011.
- "SUMMARY OF FINAL DECISIONS ISSUED BY THE TRADEMARK TRIAL AND APPEAL BOARD". OFFICIAL GAZETTE of the UNITED STATES PATENT AND TRADEMARK OFFICE. 1396: 47. 2013-11-05. Retrieved 31 January 2014.
- "Service & Support : Viewers". Autodesk, Inc. Archived from the original on 2014-01-31. Retrieved 31 January 2014.
- Grabowski, Ralph. "upFront.eZine Issue #836". upfrontezine.com. Retrieved 16 November 2014.
- "About DWG". Autodesk.com. Autodesk Inc. Retrieved 3 February 2015.
- Larabel, Michael (2013-01-24). "FSF Wastes Away Another "High Priority" Project". Phoronix. Retrieved 2013-08-22.
Both LibreCAD and FreeCAD both want to use LibreDWG and have patches available for supporting the DWG file format library, but can't integrate them. The programs have dependencies on the popular GPLv2 license while the Free Software Foundation will only let LibreDWG be licensed for GPLv3 use, not GPLv2.
- "Frequently Asked Questions about the GNU Licenses – Is GPLv3 compatible with GPLv2?". The official site. Retrieved 13 April 2011.
- Prokoudine, Alexandre (26 January 2012). "What's up with DWG adoption in free software?". libregraphicsworld.org. Retrieved 3 November 2013.
[Assimp's Alexander Gessler:] "Personally, I'm extremely unhappy with their [LibreDWG's — LGW] GPL licensing. It prohibits its use in Assimp and for many other applications as well. I don't like dogmatic ideologies, and freeing software by force (as GPL/GNU does) is something I dislike in particular. It's fine for applications, because it doesn't hurt at this point, but, in my opinion, not for libraries that are designed to be used as freely as possible." [Blender's Toni Roosendaal:] "Blender is also still "GPLv2 or later". For the time being we stick to that, moving to GPL 3 has no evident benefits I know of. My advice for LibreDWG: if you make a library, choosing a widely compatible license (MIT, BSD, or LGPL) is a very positive choice."
- Prokoudine, Alexandre (2012-12-27). "LibreDWG drama: the end or the new beginning?". libregraphicsworld.org. Retrieved 2013-08-23.
[...]the unfortunate situation with support for DWG files in free CAD software via LibreDWG. We feel, by now it ought to be closed. We have the final answer from FSF. [...] "We are not going to change the license."
- "LibDWG - free access to DWG". Retrieved 3 November 2013.
- libdxfrw on sourceforge.com
- "About DWG". freeCADWeb. Autodesk Inc. Retrieved 15 April 2015.