I’m working on a drawing that has about 9 sheets that each have a shaded detail viewport or two. While annotating I’d like to be able to make all viewports wireframe display mode to speed things up. My python code is not working, I can change the typical 4 views and the layouts to wireframe, but I can’t seem to figure out how to change the detail viewports display mode. Any thoughts?
import rhinoscriptsyntax as rs import Rhino def RunCommand( is_interactive ): views = rs.ViewNames(return_names=False, view_type=1) for view in views: if view == rs.IsLayout(view): print view details = Rhino.DetailNames(view, False) for detail in details: rs.ViewDisplayMode(detail, 'Wireframe') rs.Redraw() if( __name__=="__main__" ): RunCommand(True)