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,
Eric
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,
Eric
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.
Thanks
Eric
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.
rs.BoundingBox(detail.Id[0])
Eric
thanks for writing down the solution I was also struggling to find length/width of detail views