Rhino Python: ShowSemiModal

I have a script I wrote in Rhino 5 that I’m trying to use in the Beta (Version 6.0.15139.7191, 5/19/2015), however my script crashes every time because it would appear that Rhino.UI.Dialogs.ShowSemiModal() is missing. Was it removed/moved/misplaced.

If it has been removed is there an alternative method of accessing the main screen while a dialog box is open?

Thanks
Ian

Hi Ian,

This particular function was moved to a new platform-specific assembly named RhinoWindows.dll. You will want to add this reference to your project. Then you can do this:

RhinoWindows.Forms.FormUtilities.ShowSemiModal(...)