Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

reading a .dxf template

Status
Not open for further replies.

waseem19

Civil/Environmental
Nov 23, 2002
82
hi everybody ,
i have a program that can generate dxf files. (Outputs in the form of dxf), but i don't like what the program is producing ,i don't have the source code for the program but i think that the default features of each drawing produced is stored in a single dxf file ,
now, I’ve opened this dxf in a text editor and tried to figure out what each line is for but it seems a very difficult thing to do ,,is there a away (software or a script )that interpret the settings stored in this file and allow me to change it so that the program will produce the output in the shape i like (fonts, colours, layers etc) .

thanks a lot for reading my Question.
 
Replies continue below

Recommended for you

i forgot to mention that the dxf file i opened and tried to change through the text reader is not a valid drawing file ,if i tried to open it in AutoCAD it gives :
======================================================
Input database handles are ignored when $HANDLING is not set to ON.
DXF read error on line 1035.
Invalid or incomplete DXF input -- drawing discarded.
=======================================================

line 1035 is the first empty line.
 
DXF files are not easy to understand by simple reading. They are intended to be interpreted by a program. You can find details in the AutoCAD help as 'DXF Reference'. Note that there aspects of DXF that are open to be customised by third-party developers of add-on applications, and the DXF format is also evolving as AutoCAD develops.
 
Have you tried typing "DXFIN"? This opens Autocad and allows the DXF file to be inserted as a DWG file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor