I’m setting up a script that will hide (or unhide) all instances of a family type. The script is simple, it gets all the instances, makes a list of the corresponding view owners for each instance and then uses the archi-lab View.HideElements to hide them. That part works. Now I’m testing the UNHIDE option and nothing happens. I get a Traceback saying
AttributeError: 'List[ElementId]' object has no attribute 'length'
Has anyone gotten this to work for them? Not sure what is going on behind the scenes, but using it the same way as HideElements does NOT work.