Python - Data Output as a View


I am trying to create a graph that will hide a category for all views and view templates.
I’ve looked at this post.
This Post

and using this python code

This is giving me a string for the name of the view template, however i can not feed this into View.SetCategoryOverrides.

I understand why, I’m sending in a string not a view, how do I get the python to export a list of views not strings?.

Why not just use “all elements of category” to gather all views?

Hi Jacob

Thanks for the reply.
I have managed to get a graph to do what I need it to.

However I am interested in expanding my understanding of python. Hence I would still like to know if I can send out of the python block the views. I suspect it is related to wrapping and unwrapping?.