Create and add view filter (ParameterFilterElement)

Konrad, thank you very much. I appreciate it a lot!

I’ve tested your script. Unfortunately I get this Error…
Without line 45 and 47 it works. I get the filter (without rule but with name and categories) in the view.
I have to spend more time on understanding everything, the variables and definitions, in the script.

Now I wanted to add the graphic settings, especially projection/surface patterns.
It works for “SetCutLineColor”, “SetCutLineWeight” and “SetProjectionFillPatternColor”.
But I think there is a problem with the “SetProjectionFillPatternId”.
The value for the ID should be “1” for example? I also tried your “Pattern Types” node (Bumblebee) as Input.

Thanks and best regards, Dennis