Writer Directives

The directives that are processed by the IMX writer are listed below. The suffixes shown are prefixed by the current <WriterKeyword>_ in a mapping file. By default, the <WriterKeyword> for the IMX writer is IMX.

DATASET

The value for this directive is the writer file name.

Required/Optional

Required

Workbench Parameter

Destination Autodesk IMX File

DEF

Required/Optional

Required

The IMX writer uses IMX_DEF lines to define feature classes. A typical mapping file fragment specifying an output feature class looks like:

IMX_DEF <featureName> \

[<attributeName> <attributeType>[,<indexType>]]*

The configuration parameters present on the definition line are described in the following table:

Parameter Contents
   
featureName This declares the name of the table
attributeName This declares the name of the data property. The maximum length of property names is 100 characters.
attributeType

This declares the type of the data property. The valid values are listed below:

boolean

datetime

decimal(width, precision)

int16

int32

int64

byte

single

double

char(width)

blob(width)

clob(width)

 
 
 
 
 
 
 
 
 
 
 
 
   
indexType

The valid values are listed below:

IDENTITY

Attributes with an IDENTITY index type must uniquely identify the feature within the table: features with non-unique values for IDENTITY attributes cannot be inserted into the destination IMX database. If multiple attributes are declared with an IDENTITY index type, then those multiple attribute form a composite identity property.

 
 

CALCULATE_FOOTPRINTS

Required/Optional

Optional

This directive specifies the whether the representative geometry in the 3D model instance tables, such as buildings, should be a calculated footprint or a simple bounding box of the feature. Note that if the footprint returns an aggregate, the center point of the bounding box of the aggregate will be returned as the representative geometry. Note that these representative geometries are only for performance when rendering the 3D model is to expensive and will likely not be visible the majority of the time.

The default value is No

IMX_CALCULATE_FOOTPRINTS Yes

Workbench Parameter

Calculate Footprints