DWG is proprietary file format for storing 2d and 3d design data, owned by Autodesk. Native format for various CAD applications.
Questions tagged [dwg]
157 questions
14
votes
4 answers
How do I open a DWG file extension with Python?
I have a file with extension .dwg (AutoCAD), and I want to call that file from a Python console and present it on the web. Is there a module for the .dwg extension or some other solution?

Ballon
- 6,882
- 18
- 49
- 63
13
votes
6 answers
Can I use git with .dwg (autocad)?
Version control with .dwg is really a problem.
I'm wondering if it is possible to use git to control the version? or just commit my changes in the file?
If this is not possible, then what is a good way of version control .dwg?
I find this: Can GIT,…

ZK Zhao
- 19,885
- 47
- 132
- 206
12
votes
3 answers
DWG converter for Node.js or Javascript library
I want to show AutoCAD-files (.DWG) in my AngularJS application and I'm using a Node.js backend for my application.
Are there any DWG libraries in Javascript?
Are there any DWG Node libraries to convert DWG files to a SVG / PDF / ...
I don't…

tdhulster
- 1,531
- 3
- 18
- 32
8
votes
2 answers
Create a thumbnail of a dwg in in a linux environment
Creating a ruby on rails site that uses RMagick to create thumbnails for many types of images. RMagick cannot read dwg files however.
I've tried a few things, looked into the Java library JDWGLib, which would probably allow me to write a converter,…

Kyle
- 1,662
- 2
- 21
- 38
7
votes
1 answer
Autocad .dwg to SVG to tiles for PolyMap, resulting in event floor plan
I am currently saving a .dwg file as .dxf, opening in Illustrator, saving as .svg, and then embedding it in an html document using Polymaps. The desired result is to have an event floor plan. The floor plan is over 1,000,000 sq. ft. so I believe…

Chris Rockwell
- 1,688
- 2
- 21
- 36
7
votes
1 answer
Convert autodesk .dwg and .dwf files to three.js json format
I want to render 3D graphics files of autodesk (.dwg and .dwf) using three.js but three.js requires 3D data to be in json format. So, I need to convert these files to three.js readable json format. I tried searching on the internet but couldn't find…

amit
- 363
- 2
- 10
- 24
5
votes
2 answers
ObjectARX, RealDWG or Teigha?
I'm planning on developing a piece of software that reads & manipulates data in a .dwg file. Instead of writing my own library that handles the 'reading' of the data file, I've decided to use either RealDWG or Teigha, however I'm struggling to…

Joe Morgan
- 430
- 2
- 8
- 19
5
votes
4 answers
AutoCAD - Is it possible to analyze .dwg file?
I want to analyze dwg file. Is it possible?
I'm trying to write a some program that could analyze the content of the .dwg file. for example the program could say if a door in a building model could be opened.
I've found this article that explains…

No Idea For Name
- 11,411
- 10
- 42
- 70
5
votes
1 answer
Reading DWG files in R?
Is there any way to open a DWG file in R and save it as an ESRI shapefile?
I don't know any package available yet.
Thanks in advance.

Hector
- 61
- 1
- 2
4
votes
3 answers
Is it possible to convert dwg to pdf using Python
Is it possible to convert Dwg to pdf file using Python?
I have multiple Dwg files that need to convert to pdf.
I am experimenting to create an app to convert but can not find any solution?
Please, if you have any idea help.

Abdulla Salimov
- 139
- 2
- 9
4
votes
2 answers
How to convert AutocadDWG To PDF?
Is there another way to convert AutocadDWG To PDF but to use third party programs? Thanks for any suggestions.

joycollector
- 1,986
- 4
- 17
- 18
4
votes
0 answers
Reading DWG file in Python and extracting edge points
I have a DWG file in which I have a rectangle with several lines in it (e.g. floor plan with interior walls). How can I use Python to extract the edges (X,Y Coordinates)? I need to extract the floor plan as a graph with nodes and edges defined. So…

USC.Trojan
- 391
- 5
- 14
4
votes
2 answers
AutoCAD drawing (DWG) to map tiles
Rendering large DWG files as such has shown performance degradation to large extent. Planning to use the concept of map tiles using leaflet. Need some pointers/information on how to convert DWG files to map tiles.

Shanadas
- 515
- 1
- 6
- 22
4
votes
2 answers
Open .dwg Using SolidWorks API
I am trying to open a .dwg file in SolidWorks 2015. I have been succsesfully able to open a .slddrw by using
IModelDoc2 doc = swApp.OpenDoc6("C:/Temp/BlankDraw.SLDDRW", (int)swDocumentTypes_e.swDocDRAWING,…

Cogorlopez
- 63
- 1
- 9
4
votes
2 answers
Java library to programmatically convert AutoCAD .dwg files to PDF or image?
Is there a Java library (free and open source) that converts .dwg files directly to PDFs or images file? The .dwg uses recent normes of CAD (R14, R13, R12, and 2013).
I know that there are a few in .NET and C++... The ones in Java are mostly…

user3336544
- 211
- 1
- 4
- 11