When I try running the python script below in Rhino for Mac I get an error. The MessageBox function usually works, but EditBox function won’t. When I run the script Rhino freezes and I have to use force quite in the Activity Monitor. Is this a problem specific to Mac, or am I just doing something wrong?
import rhinoscriptsyntax as rs
text = rs.EditBox(message=“Enter some text”)
Message: Method not found: ‘System.Windows.Forms.Form.set_AcceptButton’.
line 70, in EditBox, "/Users/davidsnaddon/Library/Application Support/McNeel/Rhinoceros/MacPlugIns/IronPython/settings/lib/rhinoscript/userinterface.py"
line 3, in , “/Users/davidsnaddon/Documents/Rhino Design/DBox.py”