I have several Rhinoscripts that are using Rhino.EnableRedraw in order to disable show what my scripts are building and improve performance.
I’m also using: Rhino.Command "-_SetView ....."
Now I see that after use the command above redraw is enabled. This is a change in the previous behaviour. Is it a bug?
This seems to work as expected using an SR30 release candidate:
Sub Main()
Rhino.EnableRedraw False
Rhino.Command "-_Insert _File=_Yes c:\jordi.3dm O _Enter w0,0,1 _Scale 10 0", 1
Rhino.GetString "Press <Enter> to continue"
Rhino.EnableRedraw True
End Sub