Autodesk® AutoCAD® 2014
March 2013
,© 2013 Autodesk, Inc. All Rights Reserved. Except as otherwise permitted by Autodesk, Inc., this publication, or parts thereof, may not
be reproduced in any form, by any method, for any purpose.
Certain materials included in this publication are reprinted with the permission of the copyright holder.
Trademarks
The following are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries:
123D, 3ds Max, Algor, Alias, Alias (swirl design/logo), AliasStudio, ATC, AUGI, AutoCAD, AutoCAD Learning Assistance, AutoCAD LT, AutoCAD
Simulator, AutoCAD SQL Extension, AutoCAD SQL Interface, Autodesk, Autodesk Homestyler, Autodesk Intent, Autodesk Inventor, Autodesk
MapGuide, Autodesk Streamline, AutoLISP, AutoSketch, AutoSnap, AutoTrack, Backburner, Backdraft, Beast, Beast (design/logo) Built with
ObjectARX (design/logo), Burn, Buzzsaw, CAiCE, CFdesign, Civil 3D, Cleaner, Cleaner Central, ClearScale, Colour Warper, Combustion,
Communication Specification, Constructware, Content Explorer, Creative Bridge, Dancing Baby (image), DesignCenter, Design Doctor, Designer's
Toolkit, DesignKids, DesignProf, DesignServer, DesignStudio, Design Web Format, Discreet, DWF, DWG, DWG (design/logo), DWG Extreme,
DWG TrueConvert, DWG TrueView, DWFX, DXF, Ecotect, Evolver, Exposure, Extending the Design Team, Face Robot, FBX, Fempro, Fire, Flame,
Flare, Flint, FMDesktop, Freewheel, GDX Driver, Green Building Studio, Heads-up Design, Heidi, Homestyler, HumanIK, IDEA Server, i-drop,
Illuminate Labs AB (design/logo), ImageModeler, iMOUT, Incinerator, Inferno, Instructables, Instructables (stylized robot design/logo),Inventor,
Inventor LT, Kynapse, Kynogon, LandXplorer, LiquidLight, LiquidLight (design/logo), Lustre, MatchMover, Maya, Mechanical Desktop, Moldflow,
Moldflow Plastics Advisers, Moldflow Plastics Insight, Moldflow Plastics Xpert, Moondust, MotionBuilder, Movimento, MPA, MPA (design/logo),
MPI, MPI (design/logo), MPX, MPX (design/logo), Mudbox, Multi-Master Editing, Navisworks, ObjectARX, ObjectDBX, Opticore, Pipeplus, Pixlr,
Pixlr-o-matic, PolarSnap, PortfolioWall, Powered with Autodesk Technology, Productstream, ProMaterials, RasterDWG, RealDWG, Real-time
Roto, Recognize, Render Queue, Retimer, Reveal, Revit, RiverCAD, Robot, Scaleform, Scaleform GFx, Showcase, Show Me, ShowMotion,
SketchBook, Smoke, Softimage, Softimage|XSI (design/logo), Sparks, SteeringWheels, Stitcher, Stone, StormNET, Tinkerbox, ToolClip, Topobase,
Toxik, TrustedDWG, U-Vis, ViewCube, Visual, Visual LISP, Voice Reality, Volo, Vtour, WaterNetworks, Wire, Wiretap, WiretapCentral, XSI.
All other brand names, product names or trademarks belong to their respective holders.
Disclaimer
THIS PUBLICATION AND THE INFORMATION CONTAINED HEREIN IS MADE AVAILABLE BY AUTODESK, INC. "AS IS." AUTODESK, INC. DISCLAIMS
ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
FITNESS FOR A PARTICULAR PURPOSE REGARDING THESE MATERIALS.
,Contents
Chapter 1 DXF Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
About the DXF Format (DXF) . . . . . . . . . . . . . . . . . . . . . . .1
About DXF Formatting Conventions . . . . . . . . . . . . . . . . . . . .1
About Object and Entity Codes (DXF) . . . . . . . . . . . . . . . . . . .2
Group Code Value Types Reference (DXF) . . . . . . . . . . . . . . . . .2
DXF Group Codes in Numerical Order Reference . . . . . . . . . . . . .5
Chapter 2 HEADER Section . . . . . . . . . . . . . . . . . . . . . . . . . . 13
About the DXF HEADER Section . . . . . . . . . . . . . . . . . . . . . 13
HEADER Section Group Codes (DXF) . . . . . . . . . . . . . . . . . . . 13
Revised VPORT Header Variables (DXF) . . . . . . . . . . . . . . . . . 32
Special Handling of Date/Time Variables (DXF) . . . . . . . . . . . . . 33
Chapter 3 CLASSES Section . . . . . . . . . . . . . . . . . . . . . . . . . . 37
About the DXF CLASSES Section . . . . . . . . . . . . . . . . . . . . . 37
CLASSES Section Group Codes (DXF) . . . . . . . . . . . . . . . . . . . 37
Default Class Values (DXF) . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 4 TABLES Section . . . . . . . . . . . . . . . . . . . . . . . . . . 41
About the DXF TABLES Section (DXF) . . . . . . . . . . . . . . . . . . 41
About Symbol Table Group Codes (DXF) . . . . . . . . . . . . . . . . . 41
Common Symbol Table Group Codes (DXF) . . . . . . . . . . . . . . . 42
iii
, Common Group Codes for Symbol Table Entries (DXF) . . . . . . 43
APPID (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
BLOCK_RECORD (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . 45
DIMSTYLE (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
LAYER (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
LTYPE (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
STYLE (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
UCS (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
VIEW (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
VPORT (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Chapter 5 BLOCKS Section . . . . . . . . . . . . . . . . . . . . . . . . . . 65
About the DXF BLOCKS Section . . . . . . . . . . . . . . . . . . . . . 65
About BLOCKS Section Group Codes (DXF) . . . . . . . . . . . . . . . 65
BLOCK (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
ENDBLK (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Chapter 6 ENTITIES Section . . . . . . . . . . . . . . . . . . . . . . . . . 69
About the DXF ENTITIES Section . . . . . . . . . . . . . . . . . . . . . 69
Common Group Codes for Entities (DXF) . . . . . . . . . . . . . . . . 69
3DFACE (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
3DSOLID (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
ACAD_PROXY_ENTITY (DXF) . . . . . . . . . . . . . . . . . . . . . . 74
ARC (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
ATTDEF (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
ATTRIB (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
BODY (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
CIRCLE (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
DIMENSION (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Common Dimension Group Codes (DXF) . . . . . . . . . . . . . 88
Aligned Dimension Group Codes (DXF) . . . . . . . . . . . . . . 91
Angular Dimension Group Codes (DXF) . . . . . . . . . . . . . . 92
Linear and Rotated Dimension Group Codes (DXF) . . . . . . . . 93
Ordinate Dimension Group Codes (DXF) . . . . . . . . . . . . . 94
Radial and Diameter Dimension Group Codes (DXF) . . . . . . . 95
Dimension Style Overrides (DXF) . . . . . . . . . . . . . . . . . . 96
ELLIPSE (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
HATCH (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Boundary Path Data (DXF) . . . . . . . . . . . . . . . . . . . . 101
Pattern Data (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . 105
HELIX (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
IMAGE (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
INSERT (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
LEADER (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
LIGHT (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
iv | Contents
March 2013
,© 2013 Autodesk, Inc. All Rights Reserved. Except as otherwise permitted by Autodesk, Inc., this publication, or parts thereof, may not
be reproduced in any form, by any method, for any purpose.
Certain materials included in this publication are reprinted with the permission of the copyright holder.
Trademarks
The following are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries:
123D, 3ds Max, Algor, Alias, Alias (swirl design/logo), AliasStudio, ATC, AUGI, AutoCAD, AutoCAD Learning Assistance, AutoCAD LT, AutoCAD
Simulator, AutoCAD SQL Extension, AutoCAD SQL Interface, Autodesk, Autodesk Homestyler, Autodesk Intent, Autodesk Inventor, Autodesk
MapGuide, Autodesk Streamline, AutoLISP, AutoSketch, AutoSnap, AutoTrack, Backburner, Backdraft, Beast, Beast (design/logo) Built with
ObjectARX (design/logo), Burn, Buzzsaw, CAiCE, CFdesign, Civil 3D, Cleaner, Cleaner Central, ClearScale, Colour Warper, Combustion,
Communication Specification, Constructware, Content Explorer, Creative Bridge, Dancing Baby (image), DesignCenter, Design Doctor, Designer's
Toolkit, DesignKids, DesignProf, DesignServer, DesignStudio, Design Web Format, Discreet, DWF, DWG, DWG (design/logo), DWG Extreme,
DWG TrueConvert, DWG TrueView, DWFX, DXF, Ecotect, Evolver, Exposure, Extending the Design Team, Face Robot, FBX, Fempro, Fire, Flame,
Flare, Flint, FMDesktop, Freewheel, GDX Driver, Green Building Studio, Heads-up Design, Heidi, Homestyler, HumanIK, IDEA Server, i-drop,
Illuminate Labs AB (design/logo), ImageModeler, iMOUT, Incinerator, Inferno, Instructables, Instructables (stylized robot design/logo),Inventor,
Inventor LT, Kynapse, Kynogon, LandXplorer, LiquidLight, LiquidLight (design/logo), Lustre, MatchMover, Maya, Mechanical Desktop, Moldflow,
Moldflow Plastics Advisers, Moldflow Plastics Insight, Moldflow Plastics Xpert, Moondust, MotionBuilder, Movimento, MPA, MPA (design/logo),
MPI, MPI (design/logo), MPX, MPX (design/logo), Mudbox, Multi-Master Editing, Navisworks, ObjectARX, ObjectDBX, Opticore, Pipeplus, Pixlr,
Pixlr-o-matic, PolarSnap, PortfolioWall, Powered with Autodesk Technology, Productstream, ProMaterials, RasterDWG, RealDWG, Real-time
Roto, Recognize, Render Queue, Retimer, Reveal, Revit, RiverCAD, Robot, Scaleform, Scaleform GFx, Showcase, Show Me, ShowMotion,
SketchBook, Smoke, Softimage, Softimage|XSI (design/logo), Sparks, SteeringWheels, Stitcher, Stone, StormNET, Tinkerbox, ToolClip, Topobase,
Toxik, TrustedDWG, U-Vis, ViewCube, Visual, Visual LISP, Voice Reality, Volo, Vtour, WaterNetworks, Wire, Wiretap, WiretapCentral, XSI.
All other brand names, product names or trademarks belong to their respective holders.
Disclaimer
THIS PUBLICATION AND THE INFORMATION CONTAINED HEREIN IS MADE AVAILABLE BY AUTODESK, INC. "AS IS." AUTODESK, INC. DISCLAIMS
ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
FITNESS FOR A PARTICULAR PURPOSE REGARDING THESE MATERIALS.
,Contents
Chapter 1 DXF Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
About the DXF Format (DXF) . . . . . . . . . . . . . . . . . . . . . . .1
About DXF Formatting Conventions . . . . . . . . . . . . . . . . . . . .1
About Object and Entity Codes (DXF) . . . . . . . . . . . . . . . . . . .2
Group Code Value Types Reference (DXF) . . . . . . . . . . . . . . . . .2
DXF Group Codes in Numerical Order Reference . . . . . . . . . . . . .5
Chapter 2 HEADER Section . . . . . . . . . . . . . . . . . . . . . . . . . . 13
About the DXF HEADER Section . . . . . . . . . . . . . . . . . . . . . 13
HEADER Section Group Codes (DXF) . . . . . . . . . . . . . . . . . . . 13
Revised VPORT Header Variables (DXF) . . . . . . . . . . . . . . . . . 32
Special Handling of Date/Time Variables (DXF) . . . . . . . . . . . . . 33
Chapter 3 CLASSES Section . . . . . . . . . . . . . . . . . . . . . . . . . . 37
About the DXF CLASSES Section . . . . . . . . . . . . . . . . . . . . . 37
CLASSES Section Group Codes (DXF) . . . . . . . . . . . . . . . . . . . 37
Default Class Values (DXF) . . . . . . . . . . . . . . . . . . . . . . . . 39
Chapter 4 TABLES Section . . . . . . . . . . . . . . . . . . . . . . . . . . 41
About the DXF TABLES Section (DXF) . . . . . . . . . . . . . . . . . . 41
About Symbol Table Group Codes (DXF) . . . . . . . . . . . . . . . . . 41
Common Symbol Table Group Codes (DXF) . . . . . . . . . . . . . . . 42
iii
, Common Group Codes for Symbol Table Entries (DXF) . . . . . . 43
APPID (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
BLOCK_RECORD (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . 45
DIMSTYLE (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
LAYER (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
LTYPE (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
STYLE (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
UCS (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
VIEW (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
VPORT (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Chapter 5 BLOCKS Section . . . . . . . . . . . . . . . . . . . . . . . . . . 65
About the DXF BLOCKS Section . . . . . . . . . . . . . . . . . . . . . 65
About BLOCKS Section Group Codes (DXF) . . . . . . . . . . . . . . . 65
BLOCK (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
ENDBLK (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Chapter 6 ENTITIES Section . . . . . . . . . . . . . . . . . . . . . . . . . 69
About the DXF ENTITIES Section . . . . . . . . . . . . . . . . . . . . . 69
Common Group Codes for Entities (DXF) . . . . . . . . . . . . . . . . 69
3DFACE (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
3DSOLID (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
ACAD_PROXY_ENTITY (DXF) . . . . . . . . . . . . . . . . . . . . . . 74
ARC (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
ATTDEF (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
ATTRIB (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
BODY (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
CIRCLE (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
DIMENSION (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Common Dimension Group Codes (DXF) . . . . . . . . . . . . . 88
Aligned Dimension Group Codes (DXF) . . . . . . . . . . . . . . 91
Angular Dimension Group Codes (DXF) . . . . . . . . . . . . . . 92
Linear and Rotated Dimension Group Codes (DXF) . . . . . . . . 93
Ordinate Dimension Group Codes (DXF) . . . . . . . . . . . . . 94
Radial and Diameter Dimension Group Codes (DXF) . . . . . . . 95
Dimension Style Overrides (DXF) . . . . . . . . . . . . . . . . . . 96
ELLIPSE (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
HATCH (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Boundary Path Data (DXF) . . . . . . . . . . . . . . . . . . . . 101
Pattern Data (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . 105
HELIX (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
IMAGE (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
INSERT (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
LEADER (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
LIGHT (DXF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
iv | Contents