0% found this document useful (0 votes)
275 views3 pages

DXF Codes

The document summarizes the DXF format group codes in numerical order from -5 to 1071. It provides the group code or range, a brief explanation of the purpose of each code, and indicates whether the code is fixed or can vary based on context. Common codes include those for entity type (1), name (2), handle (5), layer (8), coordinates (10-30), linetype (6), color (62), and visibility (60).

Uploaded by

qcumbor
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
275 views3 pages

DXF Codes

The document summarizes the DXF format group codes in numerical order from -5 to 1071. It provides the group code or range, a brief explanation of the purpose of each code, and indicates whether the code is fixed or can vary based on context. Common codes include those for entity type (1), name (2), handle (5), layer (8), coordinates (10-30), linetype (6), color (62), and visibility (60).

Uploaded by

qcumbor
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Group Codes in Numerical Order [DXF - DXF Reference]

http://www.autodesk.com/techpubs/autocad/acad2000/dxf/gr...

Chapter 1 -- DXF Format Group Codes in Numerical Order


The following table gives the group code or group code range accompanied by an explanation of the group code value. In the table, "fixed" indicates that the group code always has the same purpose. If a group code isn't fixed, its purpose depends on the context. For information about abbreviations and formatting used in this table, see "Formatting Conventions in This Reference." Group codes by number Group code -5 -4 -3 -2 -1 0 1 2 3-4 5 6 7 8 9 10 Description APP: persistent reactor chain APP: conditional operator (used only with ssget) APP: extended data (XDATA) sentinel (fixed) APP: entity name reference (fixed) APP: entity name. The name changes each time a drawing is opened. It is never saved (fixed) Text string indicating the entity type (fixed) Primary text value for an entity Name (attribute tag, block name, and so on) Other text or name values Entity handle; text string of up to 16 hexadecimal digits (fixed) Linetype name (fixed) Text style name (fixed) Layer name (fixed) DXF: variable name identifier (used only in HEADER section of the DXF file) Primary point; this is the start point of a line or text entity, center of a circle, and so on DXF: X value of the primary point (followed by Y and Z value codes 20 and 30) APP: 3D point (list of three reals) Other points DXF: X value of other points (followed by Y value codes 21-28 and Z value codes 31-38) APP: 3D point (list of three reals) DXF: Y and Z values of the primary point DXF: Y and Z values of other points DXF: entity's elevation if nonzero Entity's thickness if nonzero (fixed) Floating-point values (text height, scale factors, and so on) Linetype scale; floating-point scalar value; default value is defined for all entity types Repeated floating-point value. Multiple 49 groups may appear in one entity for variable-length tables (such as the dash lengths in the LTYPE table). A 7x group always appears before the first 49 group to specify the table length Angles (output in degrees to DXF files and radians through AutoLISP and ObjectARX applications) Entity visibility; integer value; absence or 0 indicates visibility; 1 indicates invisibility Color number (fixed) "Entities follow" flag (fixed) Space-that is, model or paper space (fixed) 29/03/2010 14:35

11-18

20, 30 21-28, 31-37 38 39 40-48 48 49

50-58 60 62 66 67 1 of 3

Group Codes in Numerical Order [DXF - DXF Reference] 68 69 70-78 90-99 100

http://www.autodesk.com/techpubs/autocad/acad2000/dxf/gr...

APP: identifies whether viewport is on but fully off screen; is not active or is off APP: viewport identification number Integer values, such as repeat counts, flag bits, or modes 32-bit integer values Subclass data marker (with derived class name as a string). Required for all objects and entity classes that are derived from another concrete class. The subclass data marker segregates data defined by different classes in the inheritance chain for the same object. This is in addition to the requirement for DXF names for each distinct concrete class derived from ObjectARX (see "Subclass Markers") Control string, followed by "{<arbitrary name>" or "}". Similar to the xdata 1002 group code, except that when the string begins with "{", it can be followed by an arbitrary string whose interpretation is up to the application. The only other control string allowed is "}" as a group terminator. AutoCAD does not interpret these strings except during drawing audit operations. They are for application use Object handle for DIMVAR symbol table entry Extrusion direction (fixed) DXF: X value of extrusion direction APP: 3D extrusion direction vector

102

105 210

220, 230 DXF: Y and Z values of the extrusion direction 280-289 290-299 300-309 310-319 320-329 330-339 340-349 350-359 360-369 370-379 8-bit integer values Boolean flag value Arbitrary text strings Arbitrary binary chunks with same representation and limits as 1004 group codes: hexadecimal strings of up to 254 characters represent data chunks of up to 127 bytes Arbitrary object handles; handle values that are taken "as is." They are not translated during INSERT and XREF operations Soft-pointer handle; arbitrary soft pointers to other objects within same DXF file or drawing. Translated during INSERT and XREF operations Hard-pointer handle; arbitrary hard pointers to other objects within same DXF file or drawing. Translated during INSERT and XREF operations Soft-owner handle; arbitrary soft ownership links to other objects within same DXF file or drawing. Translated during INSERT and XREF operations Hard-owner handle; arbitrary hard ownership links to other objects within same DXF file or drawing. Translated during INSERT and XREF operations Lineweight enum value (AcDb::LineWeight). Stored and moved around as a short. Custom non-entity objects may use the full range, but entity classes only use 371-379 DXF group codes in their representation, because AutoCAD and AutoLISP both always assume a 370 group code is the entity's lineweight. This allows 370 to behave like other "common" entity fields. PlotStyleName type enum (AcDb::PlotStyleNameType). Stored and moved around as a short. Custom non-entity objects may use the full range, but entity classes only use 381-389 DXF group codes in their representation, for the same reason as the Lineweight range above. String representing handle value of the PlotStyleName object, basically a hard pointer, but has a different range to make backward compatibility easier to deal with. Stored and moved around as an Object ID (a handle in DXF files) and a special type in AutoLISP. Custom non-entity objects may use the full range, but entity classes only use 391-399 DXF group codes in their representation, for the same reason as the Lineweight range above. 16-bit Integers String DXF: The 999 group code indicates that the line following it is a comment string. SAVEAS does not include such groups in a DXF output file, but OPEN honors them and ignores the comments. You can use the 999 group to include comments in a DXF file that you've edited ASCII string (up to 255 bytes long) in extended data 29/03/2010 14:35

380-389

390-399

400-409 410-419 999

1000

2 of 3

Group Codes in Numerical Order [DXF - DXF Reference] 1001 1002 1003 1004 1005 1010

http://www.autodesk.com/techpubs/autocad/acad2000/dxf/gr...

Registered application name (ASCII string up to 31 bytes long) for extended data Extended data control string ("{"or "}") Extended data layer name Chunk of bytes (up to 127 bytes long) in extended data Entity handle in extended data; text string of up to 16 hexadecimal digits A point in extended data DXF: X value (followed by 1020 and 1030 groups) APP: 3D point DXF: Y and Z values of a point A 3D world space position in extended data DXF: X value (followed by 1021 and 1031 groups) APP: 3D point DXF: Y and Z values of a world space position A 3D world space displacement in extended data DXF: X value (followed by 1022 and 1032 groups) APP: 3D vector DXF: Y and Z values of a world space displacement A 3D world space direction in extended data. DXF: X value (followed by 1022 and 1032 groups) APP: 3D vector DXF: Y and Z values of a world space direction Extended data floating-point value Extended data distance value Extended data scale factor Extended data 16-bit signed integer Extended data 32-bit signed long

1020, 1030 1011

1021, 1031 1012

1022, 1032 1013

1023, 1033 1040 1041 1042 1070 1071

3 of 3

29/03/2010 14:35

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy