Loop elements in hide- unhide activities

Is there any ways to create a loop hide and unhide elements through dynamo script? I just want to see the linear element installation sequence video. Please let me know if you people have any hints! :slight_smile:


I’m not sure what you are looking for but you can hide and unhide withe HideElements and UnhideElements. They just need i ICollection of ElementIds :slight_smile:

Hi CVestesen,
I want to link these nodes to time, it will be like population of elements in a sequence in revit itself.


That can only be done in sandbox, which doesn’t have Revit access unfortunately.

Something like this…

Yes Daniel,
I am looking for this kind of sequence. Do you know how can i do this?

Yup, you can find it here in this blog…

It uses phases, but you could modify this to perhaps work with Selection Sets or lists of Elements. The script worked fine for me in testing. Let me know how you get on.


Thanks for sharing the link! I will let you know how it works for me. :slight_smile: