Hello all. I seem to be confused on how to set viewport types for newly created views. You see I have a different north arrow for every different building, or no north arrow nor view title for my masking views. All of this is managed by the viewport type. However, when I want to duplicate all of my views to give me a New Work Set as opposed to existing. Many of those viewports come in incorrectly. So I am trying to make a way to manually adjust what view gets what viewport based on its name or in this case View Use parameter. I was cruzing along pretty well until I got confused at the junction below. Can any body see what I need to do? thanks so much.
You need to first Get Viewports Types and then Set them. You need to access Revit API for this. There is a method called “GetValidTypes” will get you started http://www.revitapidocs.com/2017.1/d53e3b6d-6f9e-e76e-d642-1bdac449c3cf.htm