Applying view filters to a view...HELP

Hi all,

I wrote this script based on some earlier posts. But somehow i’am making a mistake.
I want to create rule based filters and apply that to my views…Can somebody have a look and tell me what I’am doing wrong?Viewfilters.dyn (14.2 KB)

Tnx in advance

I think you are just missing a document node as input for the Document.ActiveView node.

Thanks for your reply John, I missed a couple of nodes. after a good research I came up with this and it works.
I have posted the script in case others run into the same problem.

Hi
what package include OVERRIDE GRAPHIC SETTING BY PROPERTIES node?
thanks!

It is out of the box -

image