Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8540

Wait interface Redraw

$
0
0

Hello

I have a class that I use with my skin, basically do this:

RhinoApp.RunScript("_-New _None", false); // Open New Document
Rhino.RhinoApp.RunScript("_ViewportTabs _Hide=Yes  ", false); // Hide Tabs
Rhino.RhinoApp.RunScript("_SetDisplayMode  _Viewport=Active _Mode=Ghosted _Enter", false);
Rhino.RhinoApp.RunScript("_Grid  _ShowGrid=No _Enter", false);// Hide a Grid
Rhino.RhinoApp.RunScript("_Gumball _Off=Yes", false);
RhinoApp.RunScript("_PrintDisplay _State=On _Color=Print _Enter", false);

Whenever rhino opens a new document, always shows the construction of the viewports, there is an equivalent command to “RhinoDoc.ActiveDoc.Views.RedrawEnabled = false;”? to only show document
after fininsh the construction.

Thanks

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 8540

Trending Articles