Mastering If or Loop

I have (with help from this forum) developed a nice utility that will tag components in a Revit model depending on their type. I’d like to take this a step further and add additional tags if a boolean is true. I’m not really seeing how to cycle into an option when something is true.

Thank you…

For the true input your desired result, for false, return the original value (i.e. so nothing changes if the conditional = false)

I think I understand the mechanism of the if call, but what isn’t clear to me is how to direct this to a complex routine, as in this example. At this point, does it require a Python script?


I’d suggest you use List.FilterByBoolMask instead of If