Hi,
I am having problems switching from a Named View to a Perspective View. I’ve pasted sample python code below. The code sucessfully creates a named view called DrawView and set’s it as the current view but fails when I try to switch back to Perspective.
Thanks in advance for the help.
import rhinoscriptsyntax as rs
#Add Named View called “DrawView”
rs.AddNamedView(“DrawView”)
#Set View to DrawView
rs.RestoreNamedView(“DrawView”)
#Set View to Perspective
rs.CurrentView(“Perspective”)
#Check to see if view is Perspective
print(rs.IsView(“Perspective”))
Eric