Reserved CAD fields for AutoCAD DWG/DXF formats
The following table lists the field names that are reserved for reading and writing DWG/DXF CAD data in ArcGIS for Desktop. You can use them to override the default output of the Export To CAD tool by adding them to the input feature class table. Fields marked as read-only are exclusive to direct-read CAD (virtual) attribute tables and cannot be used.
Category |
Field name |
Data type |
Length |
Description |
---|---|---|---|---|
Entity properties | FID | ObjectID | 4 | A unique feature identifier
|
Shape | Geometry | - | The ArcGIS area shape representing the spatial extent of the CAD file
| |
Entity | String | 16 | The CAD entity
| |
Handle | String | 16 | A unique CAD entity identifier
| |
Angle |
Double |
8 |
Rotation angle in degrees
| |
<attribute name> |
Text, Long, or Double |
8 |
A named user-defined textual entity used for storing data in a block insert | |
BlkColor |
Short |
2 |
The color assigned to the block expressed as an integer | |
BlkLinetype |
String |
255 |
The line type of the block with which the entity is associated | |
BlkLineWt |
Short |
2 |
The line weight of the block with which the entity is associated | |
CadType | String | 255 | A valid value overrides the default output entity type. For example:
Other entity types require companion fields that specify parameters. For example:
| |
Color |
Short |
2 |
The display color of the entity expressed as an integer.
| |
Elevation |
Double |
8 |
The z-coordinate value of an entity.
| |
EntColor |
Short |
2 |
The assigned color of the entity expressed as an integer | |
EntLinetype |
String |
255 |
The assigned line type of the entity | |
EntLineWt |
Short |
2 |
The assigned line weight of an entity | |
ExtX |
Double |
8 |
The x-coordinate extrusion value
| |
ExtY |
Double |
8 |
The y-coordinate extrusion value
| |
ExtZ |
Double |
8 |
The z-coordinate extrusion value
| |
LineWt |
Short |
2 |
The display line weight of an entity | |
Linetype |
String |
255 |
The display line type of the entity | |
LTScale |
Double |
8 |
The scale of the entity's line type | |
RefName |
String |
255 |
The name of the parent object in which the entity resides | |
ScaleX |
Double |
8 |
The x-coordinate scale value
| |
ScaleY |
Double |
8 |
The y-coordinate scale value
| |
ScaleZ |
Double |
8 |
The z-coordinate scale value
| |
Thickness |
Double |
8 |
The extrusion distance of an entity
| |
Layer properties | Layer | String | 255 | The CAD drawing layer name |
LyrColor |
Short |
2 |
The CAD drawing layer color expressed as an integer | |
LyrFrzn |
Short |
2 |
The freeze/thaw state of the CAD drawing layer | |
LyrHandle |
String |
16 |
A unique CAD drawing layer identifier
| |
LyrLinetype |
String |
255 |
The line type of the CAD drawing layer in which the entity resides | |
LyrLineWt |
Short |
2 |
The line weight of the CAD drawing layer in which the entity resides | |
LyrLock |
Short |
2 |
The lock/unlock state of the CAD drawing layer | |
LyrOn |
Short |
2 |
The on/off state of the CAD drawing layer | |
LyrVPFrzn |
Short |
2 |
The freeze/thaw state of the CAD view port | |
Text properties |
FontId |
Short |
2 |
The ArcGIS text symbol ID
|
Height |
Double |
8 |
The text height in CAD units | |
LnSpace |
Short |
2 |
The multiline text spacing type
| |
SpaceFact |
Double |
8 |
The multiline text spacing factor
| |
TxtStyle |
String |
255 |
The text style | |
Text |
String |
255 |
The text string | |
TxtAttach |
Short |
2 |
The multiline text attachment parameter | |
TxtBoxHt |
Double |
8 |
The text entity bounding box height | |
TxtBoxWd |
Double |
8 |
The text entity bounding box width | |
TxtDir |
Short |
2 |
The multiline text direction parameter | |
TxtFont |
String |
255 |
The text entity CAD font | |
TxtGenType |
String |
32 |
The text generation type
| |
TxtHt | Double | 8 | The text entity height | |
TxtJust |
String |
32 |
The text entity justification parameter
| |
TxtMemo |
String |
2048 |
The entire text string, not truncated | |
TxtOblique |
Double |
8 |
The text entity oblique angle
| |
TxtRefWd |
Double |
8 |
The multiline text width factor
| |
TxtRotate | Double | 8 | The text entity rotation angle | |
TxtValue | String | 255 | The text string for new text created from point features when the field CADType contains the keyword TEXT. | |
TxtWidth |
Double |
8 |
The text entity width factor.
| |
VertAlign |
String |
32 |
The text entity vertical alignment parameter
| |
Document properties |
DocName |
String |
255 |
The file name of the CAD file including the extension |
DocPath |
String |
4096 |
The full path of the CAD file including the file name
| |
DocType |
String |
255 |
The file extension associated with the CAD format | |
DocVer |
String |
16 |
The CAD format version |