Reader Directives

The suffixes shown are prefixed by the current <ReaderKeyword> in a mapping file. By default, the <ReaderKeyword> for the SketchUp Reader is SKETCHUP.

DATASET

The value for this directive is the path to the SketchUp file.

Mapping File Syntax

SKETCHUP_DATASET C:\models\office_building.skp

Required/Optional

Required

Workbench Parameter

Source Google SketchUp File

SKIP_FACES_WITH_DEFAULT_MATERIAL

If set to YES, the reader will skip faces that have the SketchUp default material.

If set to Skip_Just_Back_Faces, the reader will ignore the back sides of faces when they have default material.

Required/Optional

Optional

Values

YES | NO (default) | Skip_Just_Back_Faces | Skip_Just_Front_Faces

Workbench Parameter

Skip Faces With Default Material

RESOLVE_DEFAULT_MATERIAL

If set to YES, this option will set faces with default materials to the named appearances sketchup_default_front and sketchup_default_back for front and back sides of FME surfaces produced.

The materials named sketchup_default_front and sketchup_default_back are defined with the SketchUp model's default colors for front and back, respectively.

If this option is set to NO, then faces with default materials will have an appearance reference of 0 and it will be up to the consumer of the faces to define and assign a default appearance.

Required/Optional

Optional

Values

YES | NO (default) 

Workbench Parameter

Resolve Default Materials

READ_EDGES

If set, this option will force all edges that make up faces to be read in as line features.

Required/Optional

Optional

Values

YES | NO

Workbench Parameter

Read Edges

TESSELLATE_DONUTS

When set to YES, this option forces faces with holes (donuts) to be broken into triangles when reading.

If set to NO (the default), SketchUp faces with holes are stored as FMEDonuts wrapped inside FMEFaces.

Required/Optional

Optional

Values

YES | NO (default)

Workbench Parameter

Tessellate Donuts

READ_HIDDEN_ELEMENTS

When set to YES, this directive instructs the reader to read all geometry elements even if they are not displayed inside the SketchUp application. Geometry can be hidden with the visibility flag on the layer or on individual geometry elements.

If set to NO (the default), only geometry elements that are visible will be read in.

Note: Layers that are not visible will still have a layer (feature type) exposed in the schema.

Required/Optional

Optional

Values

YES | NO (default)

Workbench Parameter

Read Invisible Geometry and Layers

READ_AS_NESTED_GEOMETRY

This option, when set to YES, will create nested geometry from groups and components. When set to No, nested geometry will be exploded and transformed in place.

Required/Optional

Optional

Values

YES (default) | NO

Workbench Parameter

Read as Nested Geometry

EXPOSED_ATTRS

This directive allows the selection of format attributes to be explicitly added to the reader feature type.

This is similar to exposing format attributes on a reader feature type once it has been generated; however, it is even more powerful because it enables schema-driven applications other than Workbench to access and leverage these attributes as if they were explicitly on the schema as user attributes.

The result of picking a list of attributes is a comma-separated list of attribute names and types that will be added to the schema features. Currently all reader feature types will receive the same set of additional schema attributes for a given instance of the reader.

Required/Optional

Optional

Mapping File Syntax

Not applicable.

While it is possible for FME Objects applications to invoke this directive, the required format is not documented.

This directive is intended for use in our GUI applications (for example, Workbench) only.

Workbench Parameter

Additional Attributes to Expose