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
0
votes
1 answer
Autodesk forge viewer api v7.* align multiple 2d dwg models
I am using the Autodesk Forge viewer v7.* in a project. In this project I have to show multiple 2d models derriving from .dwg files uploaded to BIM360. I can load in each model and they are stacked on top of each other, but their alignment seems to…

KenGey
- 406
- 4
- 15
0
votes
0 answers
Is There Anyway to conver dwg file in three.js acceptable format?
I an trying to use .dwg file in web app. I have recently find this (https://github.com/aalavandhaann/blueprint-js) works base on three.js file. while dwg is not compatible with three.js is there anyway to convert dwg file to json nad use it in…

user1545417
- 11
- 2
0
votes
0 answers
Could I find boxes(rows/columns) from lines?
There is a BOM table in the DWG. It is consist of lines and texts.
I want to make a Table obejct by this lines and texts.
I know that only lines attributes(start, end position), text position which are part of table.
However, I would like to know…

Jaeseo Lee
- 17
- 7
0
votes
1 answer
open a dwg file in autocad and scroll to a specific spot of dwg map by C#
How can I open a dwg file in autocad and scroll to a specific spot of dwg map by C# winform?
Just give coordinates to app and automaticly show and zoom to that spot.

Nalsa
- 13
- 5
0
votes
0 answers
Print DWG to PDF with PDF printer via Windows Form Application C#
I have a Windows Form Application that I developed with C# which displays AutoCAD (.dwg) files in an eDrawings control. To use this application, users have to have eDrawings control 2014 installed on their computer.
Now, I'm trying to add a Print…

we_cs_tp
- 11
- 3
0
votes
1 answer
RGB Value of Entity of DWG File
I have a DWG CAD file in which a lot of lines are drawn.
The lines have different color each.
I Loaded this DWG CAD file to ViewPortLayout in Devdept.Eyshot
Q. Can I get color information such as RGB Values of CAD File entities to use in c#…
0
votes
1 answer
CAD SDK suggestion for Android IOS Web and desktop to read write DWG files
We are planning to build a CAD based product in Web,mobile (Android and iOS), web and desktop. IS there any commercial library to ready/ write 2D/ 3D cad data to and from DWG files?
Please suggest me some. Is Unity a good choice for displaying CAD/…

Raghulan Gowthaman
- 480
- 5
- 10
0
votes
3 answers
Calling .NET function from AutoCad
Is it possible to call a .net Function from Autocad?
I want to know if I can call a .net function From AutoCad and run some calculations and update SQL Server with the output of that calculations.
Please refer some documentation if you know.

Rizwan Ahmed Shivalli
- 1,483
- 8
- 37
0
votes
1 answer
DWG source by Python
I want to automize my routine tasks such as changing 1 word in huge AutoCAD .DWG file with a lot of text blocks (objects in autocad). So, can I open it by Python? And how?

Artem Getmanskiy
- 193
- 2
- 16
0
votes
1 answer
Segmentation fault when reading data from LibreDWG pointer to pointer structures with C
I'm working on DWG files using LibreDWG Library.
I succeeded to open a file, and put all the data in a dwg structure which contains many different fields.
The dwg structure description is here.
The problem comes when i try to print data from…

Diego Zúñiga
- 1
- 3
0
votes
2 answers
Autodesk Design Automation API extract Text from DWG file
I would like to use the Autodesk Design Automation API to extract all Text and Header information from a .dwg file into a json object. Is this possible with the Design Automation API?
Any example would help.
Thankyou

Kaliph
- 81
- 10
0
votes
0 answers
Extract coordinates and labels from dwg/dxf file using python
I need to extract coordinates of the room and label associated with it from the dwg file.As i have floor plans of office buildings, rooms are generally of square / rectangle shape.
I have multiple floor plans in dwg format.
It will be really helpful…

neerdy30
- 21
- 5
0
votes
0 answers
Batch convert .dwg to pdf/image by deleting certain layers
I have certain .dwg files as input, I want raster images as output which contain only certain layers. I found one method for parsing one .dwg file but I want to know if there exist any methods or APIs that I could speed up this process cause I need…

Zizhao
- 1
0
votes
1 answer
dwg files:use of jdwglib
i want to write an application for opening and displaying a dwg image on android using eclipse..for that i included the jdwglib jar in the the project.
in this context,is reading a dwg file and diplaying a dwg file the same??
also plz tell me wat…

Anuja
- 1
- 2
0
votes
1 answer
Python line by line execution
I couldn't fine solution for this question using search option so my question is:
I have a script that does the job but only for one file. Just to explain what`s going on here:
import sys
sys.path.append('C:\Program…

user7380301
- 25
- 3