Is there a difference between using a surrounding If region vs. using hidden Apply Pin to call an operation (Clear, Add, Create, ...)

I was wondering if there is a difference as described in the title. In my applications I did not see any difference and therefore assume both works, but recently see more examples using the If-region instead of the hidden “Apply” pin (Right-Click → Configure → Show Apply).

if_region_vs_show_apply_002

In the end, it does the same… if a node has an apply pin, it will be transformed by the compiler into an if region around the node.

the explicit if region would only have an advantage if you need other things to happen under the same condition.

note that only nodes without output values have an automatic apply pin.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.