StatusBar.SetMessagePane - works but quickly disappears

My code is writing a message to the message pane during a lengthy calculation, and it appears as desired. It quickly disappears, however, and gets replaced by the cycling messages of Rhino itself “Absolute tolerance …”, “CPU use x%”, “Memory Use”, etc. etc.

Is it possible to ONLY show my messages while my command is running? I know it is possible while showing the progress meter, but my command does not have a defined number of steps with which I can increment the progress meter during the calculation.

Hi @menno,

How about just replacing the command prompt?

RhinoApp().SetCommandPrompt(L"Really busy - please wait...");

– Dale

1 Like

Hmmm simple and elegant, I like it :wink: