BaseSwitch2

MacroModule
genre FlowControl
authors Torben Paetz, Darko Ojdanic
package FMEstable/ReleaseMeVis
definition BaseSwitch2.def
see also BaseSwitch, Switch, ImageSwitch
keywords base, switch

Purpose

BaseSwitch2 is a simplified version of BaseSwitch. It has two inputs and can be switched either with Use Input1 or Select.

Windows

Default Panel

../../../Projects/BasicHelpers/BaseSwitch2/Modules/mhelp/Images/Screenshots/BaseSwitch2._default.png

Input Fields

input0

name: input0, type: MLBase

First base input, will be forwarded to output if ‘left’ has been selected as output or Use Input1 equals false.

input1

name: input1, type: MLBase

Second base input, will be forwarded to output if ‘right’ has been selected as output or Use Input1 equals true.

Output Fields

output0

name: output0, type: MLBase

Forwards first or second base input depending on the state of Use Input1.

Parameter Fields

Visible Fields

Use Input1

name: useInput1, type: Bool, default: FALSE

Indicates if input1 should be forwarded to the output, if not, input0 is forwarded.

Select

name: select, type: Enum, persistent: no

Allows the user to choose which input should be forwarded: left -> input0, right -> input1.

Values:

Title Name Description
left left Passes the input0 to output0 if selected.
right right Passes the input1 to output0 if selected.