Setting Filter Visibility

Hey does anyone know if it’s possible to set the visibility for a filter in the visibility graphics dialog box? I can set all the lines, patterns and transparency no worries but there doesn’t seem to be a member of the OverrideGraphicSettings class to set visibility.

http://revitapisearch.com/html/bd467fbb-a9da-7cf1-1ef5-f0f3568db0ac.htm

There is a custom library being distributed with a course at https://thinkparametric.com

It has a node that will set visibility:

Thanks Konrad, I signed up to think parametric last week specifically for that course. I could never open the Dynamo files properly though so I went and created a bunch of my own nodes. So at this point I was hoping if you could tell me which member to use from the API.


I had similar results in all Dynamo versions.
Placing all the dlls into the relevant path where all the packages live gives me the below.

I’ve just realised SetFilterVisibility like AddFilter is part of the view class, no wonder I couldn’t find it in the OverrideGraphicSettings class.
Thanks Konrad

Yeah, those sample files got broken because of a few namespace changes in the packages. I had to do the change or otherwise they were conflicting with archi-lab_Grimshaw package names. I am sorry about that. I should redo the sample files now. Thanks for pointing it out.

1 Like