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
1
vote
0 answers

What settings need to be adjusted to export a Blender 3.6.0 file to FBX with a mapped texture image

I am unable to export an FBX file with the correct texture mapping I imported an OBJ file with a material file into Blender 3.6.0 and it displayed as it should, then when I exported it as an FBX file with the Path Mode set to Copy and Embedding Off,…
RobR
  • 11
  • 2
1
vote
1 answer

Unable to give draw balloon on DWG file using Autodesk Viewer

We are attempting to create a balloon on a DWG file but are unsure how to do so in Autodesk Viewer. Could you possibly offer a solution or do you have any resources for this in the Autodesk team? Also, how to get callout API on the normal Autodesk…
1
vote
0 answers

How can I mass create a drawing for laser cutting (DXF, DWG, etc.) with different QR codes

I am trying to cut some tags with a laser cutter. Every tag that I cut should have a different QR code. The cut pattern is the same for all, but I need a way to create an image of a QR code that can work in a loop. In total there will be about 80…
1
vote
1 answer

Convert SVG to DXF or DWG via PHP or Command line?

I am trying to find a way to convert a web SVG graphic to DFX or DWG using the server to automate the process. I am trying to avoid downloading the SVG and converting it in a program that a user would have to do. Does anyone have any experience with…
Shylor
  • 446
  • 1
  • 6
  • 11
1
vote
0 answers

Scaleup and Scale Down of imported DWG file in the Eyeshot Model

I imported the DWG file into the eyeshot model. For reading file I used ReadAutodesk class. I want to apply Scaleup and Scaledown on the imported DWG file. I don’t understand how to do that. Can you please help me. This is code I used. private void…
1
vote
2 answers

How to show dwg in web page

I have a dwg (I can change the file format to svg or other formats if needed) file that I want to show on my web page. After this file is displayed in the page, I want to be able to zoom in, zoom out, pan and put links that request the api where…
1
vote
1 answer

C# How to close Autocad pop-up when saving an XRef programmatically?

I am new in using AutoCAD and I am trying to work with its API in C#. At some point, I am trying to send a list of commands to save an external reference without the interference of the user. SendCommand("_-REFEDIT OK All Yes REFCLOSE Save "); But…
do.ma
  • 11
  • 2
1
vote
1 answer

Programmatically convert autocad file to visio diagram

I am drying to convert autocad file (dwg or dxf format) to visio file. I can manually insert auto cad file in visio and then convert the cad drawing object to visio shapes. This works fine. I tried to do the same using visio interop assembly, but I…
Elangovan
  • 1,449
  • 2
  • 23
  • 41
1
vote
1 answer

DWG/DXF import in QGis fails

I have a dwg-file and want to import it into QGIS (3.12.3) using Project >> Import DWG/DXF. The import cannot be started with the failure: Cannot open layer list I converted the dwg in to a dxf using the ODA file converter 21.4.0, but the same error…
Vico
  • 11
  • 1
  • 5
1
vote
2 answers

How to change the properties of an AutoCAD object programmatically in Python

I want to automatically process a bunch of AutoCAD drawings using Python. To that end I need to change the properties of the drawing entities programmatically. I've been struggling for a while, to no avail. This is the code I'm using to read the…
Tonechas
  • 13,398
  • 16
  • 46
  • 80
1
vote
1 answer

How to determine if DWG was made in foreign program

I'm currently developing a solution that utilizes Open Design Alliance to read DWG files. I'm trying to implement a similar feature that exists in the AutoCad program itself -- AutoCad will notify the user if the file's origin is not from a licensed…
Yep
  • 141
  • 1
  • 13
1
vote
1 answer

What are the best options to export Revit views to convert to PDF using the Forge Design Automation API?

I'm testing the conversion of several Revit view sheets to PDF as @Zhong Wu mentioned in How to Revit export PDF by DesignAutomationV3 (Forge API) The problem is that the result is quite different from the original, especially regarding hatches and…
1
vote
1 answer

Is there a specification available for the Autodesk SVF format?

I'm building a cross platform 3D viewing application in C#/C++ and would like to add support for Autodesk SVF files. I looked at Autodesk Forge but it has limited support for exporting to open formats such as OBJ, and Autodesk SVF does not appear…
anderslu
  • 126
  • 9
1
vote
0 answers

How to convert DWG to STP or IGES via any console/command line

I am trying to convert a Autocad DWG file to stp or iges file which would mean 2D to 3D. What I found out so far is that you can convert them via GUI on Autocad mechanical with the command stepout/igesout. So I tried to use it on AcCoreConsole but…
White
  • 11
  • 1
1
vote
0 answers

How to detect CAD dwg/dxf file is 2D or 3D?

I want to use CAD dwg/dxf file, but before use I need to identify programmatically that the given file is 2D file or 3D file. So, is there a way to detect CAD dwg/dxf file is 2D or 3D? Please suggest any way to detect that given file is 2D or…
Nimesh
  • 41
  • 1
  • 5