Questions tagged [dwg]

DWG is proprietary file format for storing 2d and 3d design data, owned by Autodesk. Native format for various CAD applications.

157 questions
4
votes
2 answers

How to print DWG file from Java

How do I print a .dwg file from Java? Is there is an API for accessing and passing the DWG AutoCAD file to the printer for printing?
magh
  • 679
  • 2
  • 13
  • 17
4
votes
1 answer

Are DWG files supported by readOGR in the rgdal package?

I want to read a .DWG file into R. DWG is on the list of supported OGR formats in GDAL: Link So in theory, I should be able to read in the .DWG file using readOGR() in rgdal. But I don't know how to define the dsn. The ogrDrivers() command gives me…
4
votes
2 answers

How to handle DWG files in C++

I'm working on a project where I will need to import line data from a .dwg file in C++ and am struggling to know where to start. I've had a look at this http://opendesign.com/files/guestdownloads/OpenDesign_Specification_for_.dwg_files.pdf, and I…
user3353819
  • 911
  • 2
  • 8
  • 21
3
votes
2 answers

What solutions do we have to read and display Autocad DWG files on Android?

I would like to display rich maps contained in Autocad .dwg files in my Android app. I'd like to know if there is an existing java library to do so? If not, is it doable to translate a dwg file to a model and draw that model shape by shape on the…
Romain Piel
  • 11,017
  • 15
  • 71
  • 106
3
votes
2 answers

Autocad files (.dwg,.dxf,.dwf etc) upload in codeigniter

I added this line in ./system/application/config/mimes.php 'dwg' => array('application/acad', 'application/x-acad', 'application/autocad_dwg', 'image/x-dwg', 'application/dwg', 'application/x-dwg', 'application/x-autocad', 'image/vnd.dwg',…
Anil Sharma
  • 489
  • 2
  • 7
  • 15
3
votes
4 answers

C# export to DWG

I am hope to write a C# application take takes some numbers as input and export in a format that can ultimately be editable as dwg files. I read that exporting directly to dwg is difficult, but I can accept if I can export to imtermediate format…
Jake
  • 11,273
  • 21
  • 90
  • 147
3
votes
3 answers

View DWG files in a browser

I have an application developed with Asp.Net and C#. I have to display DWG - CAD files(stored in a server) in a client side browser. I cannot install Auto CAD or any other software or activeX control in my client side machines and it can be…
vikky114
  • 87
  • 1
  • 1
  • 8
3
votes
3 answers

how to deal with dwg file

I want to use code to analyze dwg file. Any one know any SDK tools to start with?
user496949
  • 83,087
  • 147
  • 309
  • 426
3
votes
1 answer

How to call and display DWG file on browser using simple PHP code

I need help that how to call a DWG i.e. Autocad file in browser, and how to display it in browser using simple PHP code or any other solution but i want to display it using PHP only.
Rahul Prajapati
  • 202
  • 2
  • 9
3
votes
4 answers

AutoCAD library in Java to read .dwg files?

Is there any open-source Java or JavaScript library available to parse .dwg files and get the objects from it. I would like to extract data from a table of text for my project. It seems that the AutoCAD developer community prefers .NET and C/C++…
user3336544
  • 211
  • 1
  • 4
  • 11
2
votes
2 answers

How to print dwg file in c#

I want to print a dwg file programmatically in my c# project without opening AutoCad.my application is network base and my file is in a shared folder.I do not know how should i do that?
M_Mogharrabi
  • 1,369
  • 5
  • 29
  • 57
2
votes
3 answers

Writing to dxf or dwg format?

I have the X and Y values for a curve in C# and I want them to be drawn in a dxf or dwg file format using the same C# project. Is there a way to do that? Thank you.
gmk
  • 47
  • 1
  • 6
2
votes
1 answer

embed DWG files in web site

I have been searching for this. looked at this question, but looks like volo3 is discontinued, so I downloaded the DWG trueView. then in a jsp file I have: in both firefox and IE keedp showing plugin…
Yichz
  • 9,250
  • 10
  • 54
  • 92
2
votes
1 answer

Automated scripting changes to a CAD file

I am working as part of a project using a piece of third part software that promised, among its other features, to export items to AutoCAD format. Unfortunately it hasn't lived up to its promise and I have been tasked to create a script which will…
Sparky
  • 2,694
  • 3
  • 21
  • 31
2
votes
1 answer

Drawing a XAML map in WPF

I'm working on a module that displays DWG files in WPF. I've managed to use CadLib library but it's working very slowly and I want to make it faster. I found out that if I convert that DWG file to SVG format and then print it to my XPS printer and…
Jonathan Perry
  • 2,953
  • 2
  • 44
  • 51
1
2
3
10 11