Questions tagged [dxf]

DXF (Drawing Exchange Format) is a CAD data file developed by AutoDesk for interoperability between AutoCAD and other CAD applications.

320 questions
0
votes
1 answer

xcode Reading/writing dxf and dwg files

can anybody give me some directions as to how to read and write the DWG/DXF files. what i want to achieve is that I want to create a drawing using Quaztcore.(which i can do). but i want to send this drawing via a mail composer in a format which can…
user1489709
  • 407
  • 4
  • 10
0
votes
1 answer

AutoCAD only works with one file when trying to plot multiple files using plugin written in C# .NET. How to solve it?

everybody! I wrote this code: // (C) Copyright 2013 by // using System; using Autodesk.AutoCAD.Runtime; using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.Geometry; using…
Flávio Schuindt
  • 403
  • 1
  • 7
  • 15
0
votes
3 answers

Simple way to convert from dxf to pdf

Is there a simple way to convert from dxf to pdf without opening AutoCad? I tried to do this by using AutoCad (ObjectARX) lib in c#, but with no results. The code I tried was this: { SaveFileDialog savedlg = new SaveFileDialog(); string st =…
Flávio Schuindt
  • 403
  • 1
  • 7
  • 15
0
votes
1 answer

How to extract components from DXF created in AutoCAD?

I'm trying to find some way how I could obtain some concrete components from .dxf file created by AutoCAD. Concretely, there will be a building drawn in AutoCAD with windows, doors and other similar components specified. I found some libraries like…
Reshi
  • 799
  • 4
  • 15
  • 32
-1
votes
1 answer

How do I delete objects on a specific layer in AutoCAD drawing using Python?

Erase line on a layer a layer in a cad, using python Hi, I want to select objects on a specific layer in my autocad drawning. After, I want to delete them. I tried a couple thing (using python) with exdxf or pyautocad. Can someone send me line to…
-1
votes
1 answer

how to deal with this assertion debug failure

I am debugging a code that generates five dxf files. Everything works correctly for the first generation. As soon as I start creating the second dxf file I get this error. Could someone help me and explain me the problem. I am not able to post the…
Zac Boussaid
  • 35
  • 1
  • 8
-1
votes
1 answer

DXF→element only

Thank you in advance and sorry for the bad english! What I have tried: DXF file Find: \r\n Replace: @@@ Find: (.*)(?=ENTITIES) Replace: $2 Find: @@@ Replace: \n Find: ENTITIES Replace: 0\nSECTION\n2\n\ENTITIES replace - Currently 4 times I want to…
mrrclb48z
  • 207
  • 2
  • 13
-1
votes
1 answer

How to add a tagging or label(the same thing in a cad file) through ezdxf or dxfwrite of python?

I want to born a file which can be open by CAD software. I choose the library named 'ezdxf'. I get trouble when I want to add a label(or tagging, I mean,the function provide by CAD software to show the begin and end point of a line segment). I had…
lanhao945
  • 427
  • 5
  • 21
-1
votes
2 answers

why when converted dxf file to svg using inkscape the dimensions of the diagram disappears?

This is the image is done in AutoCAD 2018: This is how the converted SVG image appears: How do I fix it? I have also checked various online DXF to SVG converters but experience the same issue.
Ram
  • 1
  • 4
-1
votes
1 answer

Corner detection by points location or image

I have some simple shapes which shapes are not necessarily regular. I need an algorithm to find their corners, actually i want to summarize their points to minimum, to saving them in dxf format and I have their points location in array. Simple…
Sina
  • 575
  • 1
  • 5
  • 23
-1
votes
2 answers

Generated DXF file opens in AutoCAD but crashes BricsCAD

I am working on a DXF (AC1021 version) exporter in Delphi and I ran into some problems. I was looking closely at ezdxf for minimum file structure and I was able to successfully generate it in delphi. Now the problem I have is that the generated file…
skrat
  • 648
  • 2
  • 10
  • 27
-1
votes
1 answer

Curved polyline from points using DXFEngine (python)

I have a list of points (x,y) and want to create an output dxf file which contains a curved polyline between the points (spline approximation or similar). Is this feasible using the dxfEngine python module? Thanks in advance, Peter
pma07pg
  • 516
  • 1
  • 4
  • 16
-1
votes
2 answers

Save visio file as DWG or DXFin C#

Am using Microsoft.Office.Interop.Visio to create a visio file. It's working as expected. Now the new requirement is to save the file as DWG and DXF. I saw Page.Export Method to export the visio file to different file type. But using export method…
thejustv
  • 2,009
  • 26
  • 42
-1
votes
1 answer

DXF file does not open in AutoCAD

When I have such code with HEADER it does not…
user6494822
-1
votes
1 answer

how to find a dxf entity is inside another entity?

3d letter from DXF File In the image there is a 3d letter O from dxf file. O represented as two rounds.so there is two entity. How can i detect one entity is inside another (in case of o,how to know small round is inside big round)?
1 2 3
21
22