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
0
votes
1 answer

Drag And Edit Table Component In DWG Drawing

I am developing an application that works with DWG files for valve designs, and I need to implement the functionality of allowing users to drag and drop tables as DWG components onto the drawing and then edit those tables by modifying their data or…
0
votes
0 answers

How to convert a .dwg file to .pdf and download it using Design Automation API or other APIs in Autodesk Platform Services?

We have a .dwg file stored on https://oss-manager.autodesk.io/# and we need to convert it to a .pdf format and download it. We are looking for a workaround to accomplish this task using Design Automation API or any other APIs available in Autodesk…
0
votes
0 answers

Manipulation PDF to DWG using a Source code

i would like to manipulate a PDF File to DWG using C# or Javascript, python. did anyone know how? i already tried with Aspose but it's work just from DWG to PDF
Sam
  • 31
  • 5
0
votes
0 answers

How to convert SVG format to DWG format in .net Core

I am using .NET Core Application and My requirement is to convert DWG to SVG and SVG to DWG formats. I have converted DWG format to SVG format using Aspose.CAD library successfully as below. // Load the input DWG file Image image =…
SAREKA AVINASH
  • 437
  • 8
  • 15
0
votes
1 answer

How to properly show .dwg file in Reactjs web application

Currently, I want to render a large .dwg file in the reactjs web application, the .dwg file will be retrieved from my django server. Also, I will be doing some filtering onto the .dwg file to show the coordinate of different IoT devices. After hours…
David Ho
  • 207
  • 4
  • 13
0
votes
1 answer

Calculate the routes from dwg layout

I have a dwg 2D layout of a hanging warehouse. We have to development a WCS system, this system consist also to calculate the shortest way to reach the destination. Is there any way to convert the DWG to a GRAPH and use the python-networkX to…
0
votes
1 answer

File format .dwg/.dxf is missing in save type windows 10

I am using SketchUp to draw a design and tried to export in 2D graphic While exporting the file, the required format (.dwg/.dxf) is missing on the save type list. I have already installed AutoCAD in my system. The same functionality was working…
Ramanan
  • 35
  • 5
0
votes
2 answers

Hashing DWG files - empty models don't receive the same hash code

I want to use a hash function (SHA1) to determine whether two DWG models from AutoCAD 2018 are identical or not. To test if this works, I created two empty dwg files and used the SHA1 function in c# (System.Security.Cryptography.sha1) to calculate…
Max Power
  • 11
  • 2
0
votes
2 answers

Python - convert dwg to analog signal

I'm a newbie here and start my challenge with Python. Just saw that video and got the idea to force Raspberry Pi to do same job. The idea is to grab a .dwg file and to convert it to an x, y audio signal. Once I'll get an audio signal oscilloscope…
0
votes
1 answer

How to iterate through the entities of an AutoCAD drawing?

I want to automate the processing of a set of AutoCAD files using Python and the COM interface. To that end I need to iterate through the entities of each drawing. So far I have been able to get the job done by using pyautocad. import…
Tonechas
  • 13,398
  • 16
  • 46
  • 80
0
votes
1 answer

Check available layers in .dwg file

I need to programmatically check whether a layer exists in an AutoCAD drawing. I am aware that it is straightforward to get the job done using a .dxf, like this: In [77]: import win32com.client ...: import ezdxf ...: import os In [78]:…
Tonechas
  • 13,398
  • 16
  • 46
  • 80
0
votes
1 answer

Import line points from DWG file with C/C++

I'm writing a path-following application for my robot for 2D navigation and the path is contained in a DWG file. Let's say, for example, that the DWG file contains a 2x2 meters square. I would like to open the DWG file, find out the lines and get…
Marcus Barnet
  • 2,083
  • 6
  • 28
  • 36
0
votes
1 answer

Batch plotting dwg & dxf files to pdf in AutoCAD

I have a problem with making the batch plotting files in the autoCAD. The similar query is here, but it solves an issue within 1 file only. Convert dwg file to pdf In turn, the main tutorial doesn't explain it…
Geographos
  • 827
  • 2
  • 23
  • 57
0
votes
1 answer

Read 3DSOLID properties from c#

I have both a .dwg and a .dxf file from which i have to extraxt some entities. I can extract all kind of entities but 3DSOLId. Is there a programmaticaly(c#) way to extract those entities and read their properties?
0
votes
1 answer

How to load dwg file in SQL Server Spatial data type column?

How can I load a .dwg file into a SQL Server spatial data type column directly from SQL Server Management Studio, without 3rd party software?
ThinkTank
  • 194
  • 1
  • 7