Using Dynamo on Deleting Viewport Type - with DataShape UI
If using Revit OOTB purge can’t select the unused view port type or even selecting/deleting them using Ideate Explorer you may try this Graphs.
This Graphs get all Viewport Types (archilab) and with the help of Data Shapes UI, a dialog with check box pop-up where you can select viewport you want to delete.
(if prompt with Deleting all open views in a project is not allowed this is the default viewport when you are placing views on sheet, I used pyRevit - Wipe Unpurgable Viewport Types but you can also re-name this viewport type and apply your desired annotation symbol so this become your default view port when placing view on sheet.)
I added “Watch” nodes to find out where the issue may be. Could someone tell me how this works and what I may have done wrong? Is it possible the newer versions of the nodes work differently?
Obviously a big thanks to the original creator. This resolves one of those unexplainable Revit shortcomings that has been driving me crazy every time I insert new views or schedules.