Writer Directives

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

DATASET

Required/Optional: Required

This is the name of a VOIV file. The default extension for VOIV files is .iv.

An example of the DATASET keyword in use is:

VOIV_DATASET /usr/data/voiv/output/drawing.iv

Workbench Parameter: Destination VOIV (VoxelGeo OpenInventor) File

DEF

Required/Optional: Required

Each VOIV file must be defined before it can be written. The definition specifies the base name of the file, and the names and the types of attributes that should be written for each feature. The syntax of a VOIV DEF line is:

<WriterKeyword>_DEF <baseName> \
[<attrName> <attrType>]+

The attribute type supported by the VOIV writer is listed below.

Field Type

Description

Char

Character fields store variable-length strings.

POINT_RADIUS

Required/Optional: Optional

When points are written to VOIV files, they are written with a radius defined by the attribute fme_size, or the parameter POINT_RADIUS if it cannot be found. If POINT_RADIUS is not specified, the default value is 1.

Workbench Parameter: Point Radius