Click or drag to resize
AttributeDxfCode Property
DXF code of the underlying data type.

See remarks section for detailed description.

Namespace: FDF.Common.ObjectModel
Assembly: FDF.Common (in FDF.Common.dll) Version: 3.0.0.0
Syntax
[TypeConverterAttribute(typeof(AttributeDataTypeConverter))]
public int DxfCode { get; set; }

Property Value

Type: Int32
Remarks
Following DXF codes and data types are currently supported:

DXF codeUnderlying data type
1000String value.

Strings in extended data can be up to 255 bytes long (with the 256th byte reserved for the null character).

1003Name of the layer associated with the extended data. This type is AutoCAD specific.
1004Serialized binary stream (BLOB).

Binary data is organized into variable-length chunks. The maximum length of each chunk is 127 bytes. In ASCII DXF files, binary data is represented as a string of hexadecimal digits, two per binary byte.

1005Handles of entities in the drawing database. This type is AutoCAD specific.

When a drawing with handles and extended data handles is imported into another drawing using INSERT, INSERT *, XREF Bind, XBIND, or partial OPEN, the extended data handles are translated in the same manner as their corresponding entity handles, thus maintaining their binding. This is also done in the EXPLODE block operation or for any other AutoCAD operation. When AUDIT detects an extended data handle that doesn’t match the handle of an entity in the drawing file, it is considered an error. If AUDIT is fixing entities, it sets the handle to 0.

1010, 1020, 1030Three double values, in the X, Y, Z order. This type is AutoCAD specific.

They can be used as a point or vector record. AutoCAD never alters their value.

1011, 1021, 1031Three double values, in the X, Y, Z order representing world space position. This type is AutoCAD specific.

Unlike a simple 3D point, the world space coordinates are moved, scaled, rotated, and mirrored along with the parent entity to which the extended data belongs. The world space position is also stretched when the STRETCH command is applied to the parent entity and this point lies within the select window.

1012, 1022, 1032Three double values, in the X, Y, Z order representing world space displacement. This type is AutoCAD specific.

Also a 3D point that is scaled, rotated, and mirrored along with the parent (but is not moved or stretched).

1013, 1023, 1033Three double values, in the X, Y, Z order representing world direction. This type is AutoCAD specific.

Also a 3D point that is rotated and mirrored along with the parent (but is not moved, scaled, or stretched).

1040Double value.
1041Double value that is scaled along with the parent entity, representing a distance. This type is AutoCAD specific.
1042Double value that is scaled along with the parent, representing scale factor. This type is AutoCAD specific.

The difference between a distance and a scale factor is application-defined.

107016-bit integer (signed or unsigned).
107132-bit signed (long) integer.

See Also