ASCII Drawing Interchange file format
   HOME

TheInfoList



OR:

AutoCAD DXF (Drawing Interchange Format, or Drawing Exchange Format) is a
CAD Computer-aided design (CAD) is the use of computers (or ) to aid in the creation, modification, analysis, or optimization of a design. This software is used to increase the productivity of the designer, improve the quality of design, improve co ...
data
file format A file format is a standard way that information is encoded for storage in a computer file. It specifies how bits are used to encode information in a digital storage medium. File formats may be either proprietary or free. Some file formats ...
developed by Autodesk for enabling data interoperability between AutoCAD and other programs. DXF was introduced in December 1982 as part of AutoCAD 1.0, and was intended to provide an exact representation of the data in the AutoCAD native file format, DWG (Drawing). For many years, Autodesk did not publish specifications, making correct imports of DXF files difficult. Autodesk now publishes th
DXF specifications online
Versions of AutoCAD from Release 10 (October 1988) and up support both ASCII and binary forms of DXF. Earlier versions support only ASCII. As AutoCAD has become more powerful, supporting more complex object types, DXF has become less useful. Certain object types, including ACIS solids and regions, are not documented. Other object types, including AutoCAD 2006's dynamic blocks, and all of the objects specific to the vertical market versions of AutoCAD, are partially documented, but not well enough to allow other developers to support them. For these reasons many CAD applications use the DWG format which can be licensed from Autodesk or non-natively from the Open Design Alliance. DXF coordinates are always without dimensions so that the reader or user needs to know the drawing unit or has to extract it from the textual comments in the sheets.


File structure

ASCII versions of DXF can be read with any text editor. The basic organization of a DXF file is as follows: ; section : General information about the drawing. Each parameter has a variable name and an associated value. ; section : Holds the information for application-defined classes whose instances appear in the , , and sections of the database. Generally does not provide sufficient information to allow interoperability with other programs. ; section : This section contains definitions of named items. # Application ID () table # Block Record () table # Dimension Style () table # Layer () table # Linetype () table # Text style () table # User Coordinate System () table # View () table # Viewport configuration () table ; section : This section contains Block Definition entities describing the entities comprising each Block in the drawing. ; section : This section contains the drawing entities, including any Block References. ; section : Contains the data that apply to nongraphical objects, used by
AutoLISP AutoLISP is a Dialect (computing), dialect of the programming language Lisp (programming language), Lisp built specifically for use with the full version of AutoCAD and its derivatives, which include ''AutoCAD Map 3D'', ''AutoCAD Architecture'' and ...
, and
ObjectARX ObjectARX (AutoCAD Runtime eXtension) is an API for customizing and extending AutoCAD. The ObjectARX SDK is published by Autodesk and freely available under license from Autodesk. The ObjectARX SDK consists primarily of C++ headers and libraries th ...
applications. ; section : Contains the preview image for the DXF file. ; The data format of a DXF is called a "tagged data" format, which "means that each data element in the file is preceded by an integer number that is called a group code. A group code's value indicates what type of data element follows. This value also indicates the meaning of a data element for a given object (or record) type. Virtually all user-specified information in a drawing file can be represented in DXF format.""Chapter 1 -- DXF Format
Autodesk.com
/ref>


See also

*
Design Web Format Design Web Format (DWF) is a file format developed by Autodesk for the efficient distribution and communication of rich design data to anyone who needs to view, review, or print design files. Because DWF files are highly compressed, they are sma ...
(DWF) * QCAD, an open source CAD application that uses the DXF file format internally and to save and import files ** LibreCAD, a version of QCAD Community Edition ported to Qt4 * Open Design Alliance (originally called OpenDWG) * ShareCAD, a free online CAD viewer that supports DXF, among other formats


References


External links


AutoCAD DXF Reference (from Release 14, 1998)PDF version from 2012





AutoDesk Online DXF File Viewer
{{Authority control 1982 introductions
DXF AutoCAD DXF (Drawing Interchange Format, or Drawing Exchange Format) is a CAD data file format developed by Autodesk for enabling data interoperability between AutoCAD and other programs. DXF was introduced in December 1982 as part of AutoCAD ...
Autodesk products
DXF AutoCAD DXF (Drawing Interchange Format, or Drawing Exchange Format) is a CAD data file format developed by Autodesk for enabling data interoperability between AutoCAD and other programs. DXF was introduced in December 1982 as part of AutoCAD ...