I got this block of code from Djordje Spasic and I’m wondering how one might go about giving a name to the detail views in a layout. Djordje was nice enough to give me the code below and when you run it the detail views come up empty since they are not assigned.
This is the code to cycle through the detail views:
def GetAllDetailViews(): pageView_L = Rhino.RhinoDoc.ActiveDoc.Views.GetPageViews() for pageView in pageView_L: print "pageView.PageName: ", pageView.PageName detailView_L = pageView.GetDetailViews() for detailView in detailView_L: print "detailView.Name: ", detailView.Name
Thanks in advance for the help.