Codaform
EN
Download
The Codaform handbook

The documentation articles are available in English.

Nodes

IF / THEN / ELSE node

The Condition node compares values and exposes a boolean TRUE result plus a VALUE result chosen from the THEN/ELSE branches.

Where to find it
Parameter Graph toolbar > + IF
When to use it
Show/hide rules, size thresholds and conditional numeric outputs
On this page

Step by step

  1. Add an IF node.
  2. Set the left value, comparison operator and right value.
  3. Set THEN and ELSE values.
  4. Connect TRUE to a compatible visibility/show-hide input or VALUE to a numeric property.

Two outputs

TRUE represents the comparison result. VALUE represents the chosen THEN/ELSE value, so one condition can drive visibility and a numeric dimension if needed.

Readable rules

Prefer named Value parameters on the comparison inputs instead of burying important thresholds inside long expressions.

Preview visibility

Show/hide rules affect the parameter preview. Returning to Designer restores the visibility state captured before entering the preview; graph preview visibility should not permanently hide the construction geometry.

Keep in mind

  • Test both branches before saving snapshots so a configuration does not hide the only geometry you need to edit.

Keep building

Documentation