.dwg explained

DWG
Extension:.dwg (plain)
.dws (standards)
.dwt (template)
Noextcode:on
Nomimecode:on
Mime:image/vnd.dwg[1]
Genre:Computer-aided design
Developer:Autodesk, Open Design Alliance and others
Released:[2]
Open:Open but Proprietary[3]

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, ZWCAD, 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 history

VersionInternal versionAutoCAD versions
DWG R1.0MC0.0AutoCAD Release 1.0
DWG R1.2AC1.2AutoCAD Release 1.2
DWG R1.40AC1.40AutoCAD Release 1.40
DWG R2.05AC1.50AutoCAD Release 2.05
DWG R2.10AC2.10AutoCAD Release 2.10
DWG R2.21AC2.21AutoCAD Release 2.21
DWG R2.22AC1001, AC2.22AutoCAD Release 2.22
DWG R2.50AC1002AutoCAD Release 2.50
DWG R2.60AC1003AutoCAD Release 2.60
DWG R9AC1004AutoCAD Release 9
DWG R10AC1006AutoCAD Release 10
DWG R11/12AC1009AutoCAD Release 11, AutoCAD Release 12
DWG R13AC1012AutoCAD Release 13
DWG R14AC1014AutoCAD Release 14
DWG 2000AC1015AutoCAD 2000, AutoCAD 2000i, AutoCAD 2002
DWG 2004AC1018AutoCAD 2004, AutoCAD 2005, AutoCAD 2006
DWG 2007AC1021AutoCAD 2007, AutoCAD 2008, AutoCAD 2009
DWG 2010AC1024AutoCAD 2010, AutoCAD 2011, AutoCAD 2012
DWG 2013AC1027AutoCAD 2013, AutoCAD 2014, AutoCAD 2015, AutoCAD 2016, AutoCAD 2017
DWG 2018AC1032AutoCAD 2018, AutoCAD 2019, AutoCAD 2020, AutoCAD 2021, AutoCAD 2022, AutoCAD 2023, AutoCAD 2024, AutoCAD 2025

History

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,[4] and subsequently licensed by Autodesk in 1982 as the basis for AutoCAD.[5] [6] [7] From 1982 to 2009, Autodesk created versions of AutoCAD which wrote no fewer than 18 major variants of the DWG file format,[8] 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.[9]

There are several claims to control of the DWG format.[10] 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,[11] 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,[12] 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.[13] (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.[14] [15] 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."[16] This helped Autodesk software users ensure that the files they were opening were created by an Autodesk, or RealDWG application, reducing risk of incompatibilities.[17] 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.[18] Created in late 2009, GNU LibreDWG[19] is a free software library released under the terms of the GNU GPLv3 license. It can read DWG files from version R13 up to 2021, and write R2000 DWG files.

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).[20]

Autodesk trademark

On November 13, 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.[21] Nine days later, Autodesk's attorneys won a broad and deep temporary restraining order against the Open Design Alliance.[22] 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 Unsubstantiated claim.[23] 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.[24]

In 2006, Autodesk applied for registration of US trademarks on "DWG",[25] [26] "DWG EXTREME",[27] "DWG TRUECONVERT",[28] "REALDWG",[29] "DWGX",[30] "DWG TRUEVIEW".[31] [32] As early as 1996, Autodesk has disclaimed exclusive use of the DWG mark in US trademark filings.[33] 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.[34]

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.[35] Autodesk subsequently filed a petition for cancellation of SolidWorks' trademark registration for DWGEDITOR.[36] 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.[37]

In early 2007, Autodesk petitioned the USPTO to cancel the Open Design Alliance's "OpenDWG" trademarks, claiming that they had been abandoned.[38] This cancellation action was suspended pending disposition of Autodesk's US District Court suit against SolidWorks.[39]

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.[40] 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.[41]

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.[42] 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.[43]

In June 2011 the USPTO issued a final refusal[44] to register DWG as a trademark owned by Autodesk. They were quoted as saying:[45]

Autodesk appealed the decision. The USPTO affirmed in 2013 their refusal to recognise DWG as a trademark.[46] Despite this, Autodesk websites still claimed DWG as a trademark after the decision.[47]

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.[48]

In 2015 Autodesk's website has a section title About DWG[49] 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.[50] Forked in late 2009 from libDWG, GNU LibreDWG can read all DWG files from version R13 on. But the LibreDWG library, offered under the GNU GPLv3, could initially not be used by most targeted FOSS graphic software, such as FreeCAD, LibreCAD and Blender, because of a GPLv2/GPLv3 license incompatibility.[51] [52] [53] A GPLv2 licensed alternative is the libdxfrw project, which can read simple DWGs.[54] Some of these CAD licenses were only fixed recently to be able to use LibreDWG's GPLv3.

FreeCAD is a free and open-source application that can work with the DWG files by using the proprietary ODA File Converter for .dwg and .dxf files from the Open Design Alliance (ODA).[55] The ODA also provides a freeware stand-alone viewer for .dwg and .dgn files, ODA Drawings Explorer, which runs on Windows, Linux, and Mac OS X.

LibreCAD is a free and open-source 2D CAD application that can open DWG and DXF files using its own library.

Autodesk DWG TrueView is a freeware, closed source, 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.

External links

Notes and References

  1. Web site: Media Types . 2022-05-06 . www.iana.org.
  2. Web site: What's up with DWG adoption in free software? . Libre Graphics World . April 15, 2015 . https://web.archive.org/web/20161109103037/http://libregraphicsworld.org/blog/entry/whats-up-with-dwg-adoption-in-free-software . November 9, 2016 . dead .
  3. Web site: Guides to Good Practice: Cad_3-2 . . April 15, 2015.
  4. Web site: Mike Riddle's Prehistoric AutoCAD - Retro Thing . https://web.archive.org/web/20090629024705/http://www.retrothing.com/2007/05/mike_riddles_pr.html . June 29, 2009 . live. June 11, 2009 .
  5. Web site: Existing products . https://web.archive.org/web/20081227031314/http://www.fourmilab.ch/autofile/www/subsection2_3_12_1.html#SECTION00312100000000000000 . December 27, 2008 . live . June 11, 2009 .
  6. http://www.fourmilab.ch/autofile/www/f/246.html The Autodesk File: Footnote
  7. Web site: DigiBarn Stories: Mike Riddle & the Story of AutoCAD, EasyCAD, FastCAD & more . https://web.archive.org/web/20090525021710/http://www.digibarn.com/stories/mike-riddle/index.html . May 25, 2009 . live. June 11, 2009 .
  8. Web site: Autodesk blog . March 30, 2010. https://web.archive.org/web/20100323073806/http://autodesk.blogs.com/between_the_lines/autocad-release-history.html. March 23, 2010.
  9. Web site: DWG Unplugged. Autodesk, Inc.. https://web.archive.org/web/19980119080401/http://www.autodesk.com/products/autocad/dwgoem/unplgfq2.htm. January 19, 1998. With over two billion AutoCAD DWG files worldwide....
  10. http://worldcadaccess.typepad.com/blog/2007/12/dwg-the-registr.html DWG: The Registration Attempts & Successes from WorldCAD Access
  11. http://www.autodesk.com/developer-network/platform-technologies/realdwg Autodesk - Developer Network - RealDWG
  12. Originally, OpenDWG Alliance. Web site: Open Design Alliance . https://web.archive.org/web/20070528224521/http://www.opendesign.com/ . May 28, 2007 . live . June 21, 2007 .
  13. http://www.opendwg.org/node/86
  14. http://autodesk.blogs.com/between_the_lines/2005/06/how_to_tell_if_.html Between the Lines: How to identify some problem DWG files
  15. http://www.opendesign.com/dwg2007update.asp
  16. 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.
  17. 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
  18. http://www.fsf.org/campaigns/priority.html#opendwgreplacement FSF promotes need for open DWG packages
  19. https://www.gnu.org/software/libredwg/ GNU LibreDWG
  20. Web site: Autodesk and Bentley to Advance AEC Software Interoperability . January 1, 2009 . July 8, 2008. https://web.archive.org/web/20090227030632/http://pressreleases.autodesk.com/index.php?s=press_releases&item=436%3C%2Ftd%3E. February 27, 2009.
  21. Web site: Autodesk v. ODA . October 16, 2008 . https://web.archive.org/web/20081026211503/http://www.cadcourt.com/Docket/206cv01637.aspx . October 26, 2008 . dead .
  22. Web site: Autodesk v. ODA See line 35, Transcript . October 16, 2008 . https://web.archive.org/web/20081026211503/http://www.cadcourt.com/Docket/206cv01637.aspx . October 26, 2008 . dead .
  23. https://softwaresalemart.com/autocad-unsubstantiated-claim AutoCAD Unsubstantiated claim
  24. Web site: Autodesk v. ODA See line 50, Consent Judgment . October 16, 2008 . https://web.archive.org/web/20081026211503/http://www.cadcourt.com/Docket/206cv01637.aspx . October 26, 2008 . dead .
  25. Web site: Latest Status Info. https://web.archive.org/web/20080611104024/http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=78852798. June 11, 2008. live. September 10, 2009.
  26. http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=78852808 Latest Status Info
  27. http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=78852843 Latest Status Info
  28. http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=78852822 Latest Status Info
  29. http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=78852836 Latest Status Info
  30. http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=78852849 Latest Status Info
  31. http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=78852813 Latest Status Info
  32. http://usa.autodesk.com/adsk/servlet/pc/index?siteID=123112&id=6703438 DWG TrueConverter USA.autodesk.com
  33. http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=75156366 Latest Status Info
  34. http://portal.uspto.gov/external/portal/tow?SRCH=Y&isSubmitted=true&details=&SELECT=US+Serial+No&TEXT=78852798# United States Patent & Trademark Office
  35. Web site: dwg#page1.tif . https://web.archive.org/web/20170208004540/http://ttabvue.uspto.gov/ttabvue/ttabvue-91170857-OPP-1.pdf . February 8, 2017 . live . September 10, 2009 .
  36. http://ttabvue.uspto.gov/ttabvue/ttabvue-92046253-CAN-1.pdf Ttabvue.uspto.gov
  37. http://ttabvue.uspto.gov/ttabvue/ttabvue-91170857-OPP-32.pdf Ttabvue.uspto.gov
  38. http://ttabvue.uspto.gov/ttabvue/ttabvue-92047002-CAN-1.pdf Ttabvue.uspto.gov
  39. http://ttabvue.uspto.gov/ttabvue/ttabvue-92047002-CAN-53.pdf Ttabvue.uspto.gov
  40. Web site: Docket -> 3:08-cv-04397 (Autodesk v. SolidWorks) . https://web.archive.org/web/20090923040934/http://www.cadcourt.com/Docket/308cv04397AutodeskvSolidWorks.aspx . September 23, 2009 . dead . September 10, 2009 .
  41. http://worldcadaccess.typepad.com/blog/2010/01/complete-text-of-autodesks-press-release.html Complete text of Autodesk's press release - WorldCAD Access
  42. Web site: ODA Members | Open Design Alliance . April 15, 2010 . https://web.archive.org/web/20110823183406/http://opendesign.com/node/542 . August 23, 2011 . dead .
  43. http://tmportal.uspto.gov/external/portal/tow?SRCH=Y&isSubmitted=true&details=&SELECT=US+Serial+No&TEXT=78852798# United States Patent & Trademark Office
  44. Web site: Latest Status Info . USPTO. September 24, 2011 .
  45. Web site: Grabowski . Ralph . WorldCAD Access . September 24, 2011.
  46. November 5, 2013 . Summary of Final Decisions Issued by the Trademark Trial and Appeal Board . Official Gazette of the United States Patent and Trademark Office . 1396 . 47 . January 31, 2014.
  47. Web site: Service & Support : Viewers . https://web.archive.org/web/20140131150419/http://usa.autodesk.com/support/viewers/. January 31, 2014. Autodesk, Inc. January 31, 2014.
  48. Web site: Grabowski. Ralph. upFront.eZine Issue #836. upfrontezine.com. November 16, 2014. https://web.archive.org/web/20141129035622/http://www.upfrontezine.com/2014/upf-836.htm. November 29, 2014. dead.
  49. Web site: About DWG. Autodesk.com. Autodesk Inc. February 3, 2015.
  50. Web site: FSF Wastes Away Another "High Priority" Project. Michael. Larabel. January 24, 2013. Phoronix. August 31, 2019.
  51. Web site: Is GPLv3 compatible with GPLv2?. Free Software Foundation. August 31, 2019.
  52. Web site: What's up with DWG adoption in free software?. Alexandre. Prokoudine. January 26, 2012. Libre Graphics World. August 31, 2019. https://web.archive.org/web/20161109103037/http://libregraphicsworld.org/blog/entry/whats-up-with-dwg-adoption-in-free-software. November 9, 2016. dead.
  53. Web site: LibreDWG drama: the end or the new beginning?. December 27, 2012. Alexandre. Prokoudine. Libre Graphics World. August 31, 2019. March 6, 2016. https://web.archive.org/web/20160306220410/http://libregraphicsworld.org/blog/entry/libredwg-drama-the-end-or-the-new-beginning. dead.
  54. Web site: libdxfrw/Home. Sourceforge. August 31, 2019.
  55. Web site: FreeCAD and DWG Import on freecadweb.org. November 11, 2014. FreeCAD Web. August 31, 2019.