I am trying to see if I can select certain revision sequence and hide in entire project. (reason why I am trying to do this way vs using built-in revit revision table under show “none- cloud- cloud and tag” is even if you do “none”, the revision schedule still shows the line item. When you hide it entirely in the view, then it takes it away from the revision schedule as well)
I am trying to use Archilab’s View.HideElements/ View.UnhideElements custom node to achieve this…
When I run the dynamo, i get an error message I can’t decipher…
Can someone help me?
The error is telling you that you’re inputting a string (the revision description), you need to input the Revision Cloud elements. Connect the Revision Clouds from All Elements of Category to the list input on your List.FilterByBoolMask
The issue is that you are trying to hide an element in all your views and is failing for any view which does not contain the cloud. Since your first view is not the correct view, the node fails then stops. You could set list levels to @L1 for View in order to attempt each view separately but you’d be much better off using Element.OwnerView from Clockwork to get the view the cloud belongs to and hide it there.
Interestingly enough the error wasn’t really an error. I was running on automatic it was throwing the error which first showed 3 traceback errors, but down in the bottom it gives: “Exception: the set of elements to be hidden is empty” which if you open the node and read the source python suddenly makes sense. Konrad is effectively asking “can this be hidden?” and removing the elements from the set if they can. So running on auto I was hiding, then throwing the error in a heartbeat.