I am looking to find or create a definition that will delete views not placed on sheets except those that are parent views. This issue is at the moment definitions I have found would not recognise if something is a parent view and by deleting it would remove the dependant views on the sheet.
I would be building it off of this definition to delete views not on sheets.
I found an Autodesk post using different programming languages on this topic. But wasn’t sure how to progress using this information within dynamo.