GeometryColorSetter

Sets colors, via appearances, on geometries (such as surfaces) that support appearances, and match a Geometry XQuery.

为了方便啊f reference, these geometries are calledmatching geometries.Existing appearances are removed from these matching geometries before new appearances are added.

When Color Generation is set toRandom, this transformer creates uniformly spaced, random colors.The randomized colors are the same each time you run the workspace, facilitating visualization and demo creation.

For more information on appearance support in FME, seeAppearances.

Ports

Parameters

Geometry Part Selection

Mode

Parameters

Example

Input

Output: Random

Output: Randomize by Trait

Editing Transformer Parameters

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace.More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers.To access a menu of these options, clickbeside the applicable parameter.For more information, seeTransformer Parameter Menu Options.

Transformer Categories

Cartography and Reports

FME Community

The FME Community is the place for demos, how-tos, articles, FAQs, and more.Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

Search for samples and information about this transformer on theFME Community.