Changing pipe style to suit length of pipe

Hi All,

Hoping for some assistance.

I’m creating a script to find any pipes that are 12m or longer in length and change the style of this pipe.

Copy of where I have got to so far is below (.dyn file also attached). It has found the pipes that are 12m or longer in length, I’m just not sure how to then relate that back to the pipe object to allow the set style to change the pipe.

Thanks in advance!

v1.dyn (17.9 KB)

use the filter by bool mask node, connect the list to the “pipes” list and mask to the “>=” output, then feed the “in” list into the set style node and see if that works.

1 Like

@KirkWM Thank you, that works brilliantly!

1 Like