DuplicateXMarkers

MLModule
author Lennart Tautz
package FMEwork/ReleaseMeVis
dll MLDuplicateXMarkers
definition MLDuplicateXMarkers.def
see also ReorderList, ReplicateXMarkers
keywords duplicate, copy, replicate, marker

Purpose

This module duplicates each marker in the input list a number of times.

Usage

Connect a marker list, choose the number of duplicates (Number of Duplicates, N), and press Update.

Details

Just in case the notion of copies or duplicates is not clear: with no loss of generality, if your input list has two markers, and you choose two duplicates, you get a list with four markers.

Windows

Default Panel

../../../Projects/MarkerInfrastructure/DuplicateXMarkers/Modules/mhelp/Images/Screenshots/DuplicateXMarkers._default.png

Input Fields

inMarkerList

name: inMarkerList, type: MLBase

An XMarkerList, containing N copies of each marker in the input list.

Output Fields

outMarkerList

name: outMarkerList, type: MLBase

An XMarkerList, with each marker of the input list duplicated N times.

Parameter Fields

Field Index

[]: Trigger Update: Trigger
Clear: Trigger  
doNotClearOnFailedUpdate: Bool  
Has Valid Output: Bool  
Number of Duplicates: Integer  
On Input Change Behavior: Enum  
Status Code: Enum  
Status Message: String  

Visible Fields

Update

name: update, type: Trigger

Initiates update of all output field values.

Clear

name: clear, type: Trigger

Clears all output field values to a clean initial state.

On Input Change Behavior

name: onInputChangeBehavior, type: Enum, default: Clear, deprecated name: shouldAutoUpdate,shouldUpdateAutomatically

Declares how the module should react if a value of an input field changes.

Values:

Title Name Deprecated Name
Update Update TRUE
Clear Clear FALSE

Status Code

name: statusCode, type: Enum, persistent: no

Reflects module’s status (successful or failed computations) as one of some predefined enumeration values.

Values:

Title Name
Ok Ok
Invalid input object Invalid input object
Invalid input parameter Invalid input parameter
Internal error Internal error

Status Message

name: statusMessage, type: String, persistent: no

Gives additional, detailed information about status code as human-readable message.

Has Valid Output

name: hasValidOutput, type: Bool, persistent: no

Indicates validity of output field values (success of computation).

[]

name: updateDone, type: Trigger, persistent: no

Notifies that an update was performed (Check status interface fields to identify success or failure).

Number of Duplicates

name: inNumberOfDuplicates, type: Integer, default: 0

Number (N) of duplicates for each marker.

Hidden Fields

doNotClearOnFailedUpdate

name: doNotClearOnFailedUpdate, type: Bool, persistent: no

Prevents automated clear after update failed. This does not affect status fields. It enables the developer to analyze module’s state after failure.