View filter issue

I previously had function that would filer out different view family types from all views in the model. Since upgrading to 1.3.0 it doesn’t seem to work.

All it does is filter based on the family parameter, filtering out all the view with family parameter with the value “Floor Plan”. The values still read correct when I use Element.Parameters but when using Element.GetParameterValueByName it reads entirely different, which is probably why the filter no longer functions.

Does anyone know a work around/fix?

All I am doing is filtering out templates, 3D views and legends. So I can run a naming function on the remaining views.

V

Download archi-lab package.

1 Like

To get a full list of views that excludes the three types just do a set difference:

Great that’s worked a treat thanks!