Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5793

Depreciation warning for ShowSemiModal

$
0
0

@Terry_Chappell wrote:

I get a depreciation warning for this line in my Pythonscript:

result = Rhino.UI.Dialogs.ShowSemiModal(form)

My script works great but I am worried that its future is endangered. I tried replacing this with:

result = form.ShowDialog()

which runs the script it locks out all other Rhino activity - no menu changes, no Analyze to do measurements.
Is there a way to replace the SemiModal behavior of Rhino.UI.Dialogs.ShowSemiModal with something else that is not scheduled for Depreciation?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5793

Trending Articles