View Filters - Delete unused & rename remaining

Hi all,

I just finished a script that will purge unused view filters from a set of views. It works great but now I want to append a project code to the front of all the remaining view filters names. I’m having trouble finding a way to do this however as the standard “element.Parameters” does not return the filter name. I have a node from the “Bakery” package that gets me the Filter names (“Element.Name+” from Clockwork also gets me the names) but I’m still unsure how to overwrite those as I don’t know the parameter name I need.

I found this Thread: but I don’t know python so I’m at a bit of a loss as to how to rename a view filter. Please see my current script attached.43136_Delete all unused ViewFilters.dyn (22.7 KB)

Any help is greatly appreciated!