Map If

Conditional mapping node. Applies a map chain only if a condition is met.

The Map If node applies a mapping chain conditionally. It checks a condition (an attribute compared against a value); if the condition is true it applies the connected "True" map chain, otherwise it passes the input value unchanged or applies a "False" chain. This introduces branching logic into an otherwise linear map chain.

Inputs

  • Input 0. Previous Map. The incoming value stream.
  • Input 1. True Map. The map chain to apply if the condition is met.
  • Input 2. False Map (optional). The map chain to apply if the condition is not met.

Outputs

  • Output. Resulting Map. The conditionally modified value.

Parameters

Condition

ParameterDescription
AttributeThe attribute to test.
OperatorComparison type (>, <, ==).
ThresholdValue to compare against.

Notes

  • Consumes attributes for the condition check.

See also: Mapping · Map · Map Blend (blends chains instead of switching)