Print Message in Rhino

Hello everybody,

I cannot find and figure out how to print message into Rhino “command history text” view.

I am using C++, and I know that exist RhinoApp().Print(…) functions, but I need to create a sort of progress message, so I don’t want that at every step it creates a new line with the informations, but I want that the last line that I insert will be replaced with the new informations. Is this possible?

I think that can be a solution, even put this information in the command space…

Can anyone help me, please?

Thank you in advance!

No, you can not remove/replace what is already printed to the history window.

For progress, you can use the progress bar, see the `RhinoSdkUiProgressBar.h` for more details

This will show a message and a visual progress in the lower right corner of the screen.

Use these:
CRhinoApp().StatusBarProgressMeterStart
CRhinoApp().StatusBarProgressMeterPos
CRhinoApp().StatusBarProgressMeterEnd

Hello menno,
thank you for your answer.

But I see in RhinoSdkUiProgressBar.h that it is obsolete. In the same file there is a suggestion for the use of

CRhinoApp().StatusBarProgressMeterStart
CRhinoApp().StatusBarProgressMeterPos
CRhinoApp().StatusBarProgressMeterEnd

That are long way easier to use.

Ah, much better!