Color elements from yes/no parameter

Hi community,

I’m trying to color some Revit elements in the 3D view.
A parameter yes/no is assigned to all elements in the Revit model.
I just want to color every “yes elements” in this view in one colour and the “no elements” in an another.
I use for that a filter by boolean mask.
I guess I have a problem with the high part of the schedule and specially with the list but I am not sure.

Dynamo is not very simple to learn at the beginning…

Can someone help me?

Thank you!

Florian

You are feeding parameters into element. Something like this must be done. Also, why is the watch node not returning anything?

Thank you for your answer!

However the schedule is not running any more.

“The specified case is not available” for the boolean filter mask if I use the direct way.

I had not run the schedule before the screenshot for the Watch node. That is why it does not show anything…

Looks like maybe an issue with your list structure. Try flattening your Watch list before inputting it as the mask.

Also, showing all the node previews would help.

1 Like

Nick is correct I think, make your bool look like this (levels)Levels

Yes, it works!!

Thank you very much for your advices!

The schedule is OK! I did not thought to that specific way, thank you! again!

1 Like