Skip to content

← utilities package

SelectActiveInput

Pick the value from the active input port.

This node accepts multiple inputs of any type and one output. The node assumes that at most one of the inputs is not None, and it will then output that value, or None if all inputs are None. This node is typically used to rejoin multiple conditionally forking paths, for instance different processing chains that are selectively enabled by a ConditionSwitch node. Version 1.0.0

Ports/Properties

input1

Input alternative 1.

  • verbose name: Input1
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

input2

Input alternative 2.

  • verbose name: Input2
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

input3

Input alternative 3.

  • verbose name: Input3
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

input4

Input alternative 4.

  • verbose name: Input4
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

input5

Input alternative 5.

  • verbose name: Input5
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

output

The value of the one input that is active.

  • verbose name: Output
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: OUT

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

  • verbose name: Set Breakpoint (Debug Only)
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

  • verbose name: Metadata
  • default value: {}
  • port type: DictPort
  • value type: dict (can be None)