Is it possible to access the Viewport Title?

I would like to be able to select and manipulate the title associated with a viewport, but I can’t figure out a way to select it. I can grab the viewport, but if I try and grab the family and type of the title, I don’t get any elements.



1 Like

If you get the element type of the viewports you should be able to get it. If you want to set it, it will be more involved.


Actually never mind, it isn’t too hard. It just needs a family type that is a view title. I think my null values are for a viewport that currently has “none” for the view title. I’m also showing how to collect the placed viewports.


Thanks John!

2015-09-01_1347I was getting All Elements of Category and plugging in to Element.GetParameterValueByName. Seeing you go from Elements to






Element.Type then Element.GetParameterValueByName solved my issue. Any idea as to what the difference is?



It’s a type parameter so we need to give it viewport types. At first you were giving it instances.

Is there any way to set the Location of the Viewport Title?