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

macOS MessageBox in python thread

$
0
0

The following script works on windows but not on macOS. Is there some workaround?


import rhinoscriptsyntax as rs

rs.MessageBox("main_thread")

import thread
def hello():
    rs.MessageBox("thread")
thread.start_new_thread(hello, ())

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles