Determine the size of a detail view

Hi and Happy New Year,

Is there a way to determine the actual size of a detail view in a layout. The size of the view as if you were to measure it.

Thanks in advance,


Like this´╝čGet the size of the layout?

import Rhino.RhinoDoc as rd

pageViews = rd.ActiveDoc.Views.GetPageViews()

for view in pageViews:
    print ("ViewName : " + view.PageName + "    ViewWidth : " + str(view.PageWidth) + "    ViewHeight : " + str(view.PageHeight))

What I am actually looking for is the size of a detail view not the size of the page view.



I did determine that there is an Id property for the detail view and I used that to get the bounding box location and subsequently the size. That should work for me.