Attempting to filter through views in a project based on the view name containing a specific string. I have been able to achieve this using dynamo nodes (see screenshots) “Edit could only upload one screenshot” however I am attempting to achieve the same result using python script (more so for my own development than necessity). The code will work fine with the view names as strings but obviously when the views are as elements the search string will not iterate. My question is the following:
Is it possible to go backwards (from string to element) i.e. if I have a list of views as strings can I get the same list as elements.
Failing the above is there a method for searching views (as elements) for string within python.
Screenshots attached any help greatly appreciated.