List Format
In this format, the data is simply stored in a list as found in the AutoCAD file. The data is stored in a single list named extended_data_list{}. Each value in the list is of the form <attribute tag>: <attribute value>. The <attribute tag>s supported by the FME are restricted to those given in the following table. The <attribute tag>s define the domain for the associated <attribute value>.
Note: The AutoCAD codes associated with each kind of extended entity data are not stored in the FME feature.
Attribute Name |
Content |
application_name |
The name of the application which the following entity data is associated. This application_name remains in effect until another application_name entry is specified. AutoCAD Code: 1001 Example: application_name:ACAD |
autocad_layer |
The name of the layer the extended data is associated. AutoCAD Code: 1003 Example: autocad_layer:Water |
string |
A character string value from 0 to 255 characters in length. AutoCAD Code: 1000 Example: string:Thompson |
control_string |
A start or end brace for grouping other extended entity data items. AutoCAD Code: 1002 Example: control:{ |
Binary data |
A hexadecimal string from 0 to 254 characters in length. AutoCAD Code: 1004 Example: binary:E3B4 |
three_reals |
Three 64-bit floating point numbers separated by commas. AutoCAD Code: 1010,1020,1030 Example: three_reals:2.3,4.5,3.4 |
world_position |
Three real numbers which represent a world position. Each of the numbers is separated by a comma. AutoCAD Code: 1011, 1021, 1031 Example: world_position:23.4, -123.5, 0 |
world_displacement |
Three real values which represent a world displacement value. Each of the values is separated by a comma. AutoCAD Code: 1012, 1022, 1032 Example: world_displacement:1.5, 2.3, 0 |
world_direction |
Three real values which represent a world direction vector. Each of the values is separated by a comma. AutoCAD Code: 1013,1023,1033 Example: world_direction: 30.0, -12.4, 10 |
real |
A 64-bit floating point number. AutoCAD Code: 1040 Example: real:3.1415926 |
distance |
A 64-bit floating point number which represents a distance. AutoCAD Code: 1041 Example: distance:4.56 |
scale |
A 64-bit floating point number which represents a scaling factor. AutoCAD Code: 1042 Example: scale:34.5 |
16Bit_integer |
A 16 bit integer value. AutoCAD Code: 1070 Example: 16Bit_integer:245 |
32Bit_integer |
A 32 bit integer value. AutoCAD Code: 1071 Example: 32Bit_integer:12983 |
For example, if the following data was stored in extended entity data:
1001 C_NODE
1000 CONNOBJ_1=43F4
1000 COUNT=3
1000 CONNOBJ_2=43F3
1000 CONNOBJ_3=43F2
1005 163
1010 45.4
1020 -123.5
1030 0
1001 DPRINT
1000 postscript
then the FME AutoCAD reader would store this information as a list within the FME feature:
Attribute Name |
Attribute Value |
extended_data_list{0} |
application_name:C_NODE |
extended_data_list{1} |
string:CONNOBJ_1=43F4 |
extended_data_list{2} |
string:COUNT=3 |
extended_data_list{3} |
string:CONNOBJ_2=43F3 |
extended_data_list{4} |
string:CONNOBJ_3=43F2 |
extended_data_list{5} |
handle:163 |
extended_data_list{6} |
three_reals:45.4,-123.5,0 |
extended_data_list{7} |
application_name:DPRINT |
extended_data_list{8} |
string:postscript |
Notice how the AutoCAD codes are converted to attribute tags when stored in the FME features.