Reserved CAD fields for DGN files
The following table defines reserved CAD field schema for reading and writing supported MicroStation elements.
Category |
Field name |
Data type |
Length |
Description |
---|---|---|---|---|
Element 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. | |
CadType | String | 255 | Overrides the default output entity type. | |
CadModel |
String |
255 |
A DGN file component that contains elements. | |
Class |
String |
255 |
The entity class designation. | |
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. | |
Fill |
Short |
2 |
Fill pattern name. | |
GGroup |
Short |
2 |
The graphic group to which an entity belongs. | |
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. | |
MSLink-DMRS |
Long |
4 |
A unique identifier used as a primary key for linking a graphic element to a record in an external database table.
| |
MSCtlg-DMRS |
Long |
4 |
An identifier in the MSCatalog relation table that uniquely identifies the table containing the MSLink.
| |
QrotX |
Double |
8 |
The x-coordinate quaternion (3D) rotation value. | |
QrotY |
Double |
8 |
The y-coordinate quaternion (3D) rotation value. | |
QrotZ |
Double |
8 |
The z-coordinate quaternion (3D) rotation value. | |
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.
| |
Layer properties | Layer | String | 255 | The CAD drawing layer name. |
Level |
Long |
4 |
The CAD drawing layer number identifier. | |
LvlDesc |
String |
255 |
The description of the CAD level.
| |
LvlPlot |
Short |
2 |
The CAD plot order of the drawing levels. | |
LyrColor |
Short |
2 |
The CAD drawing layer color expressed as an integer. | |
LyrFrzn |
Short |
2 |
The freeze/thaw state of the CAD drawing layer. | |
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. | |
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.
| |
Style |
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. | |
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.
| |
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. |