Temporarily suppress printing

Hello all,

I’ve got a function in a dll that makes many calls to “RhinoGetAnalysisMeshes” or “RhinoGetRenderMeshes” in a “for” loop. As a result, I’m getting loads of messages along the lines of “Creating rendering meshes… Press Esc to cancel”. Can I temporarily suppress these messages, just for the duration of that for loop?

Thanks,
Tom

Hi @tj1,

Sorry, no, the message presented by these functions cannot be suppressed. The alternative is to write your own versions.

– Dale

I’m not quite sure what you mean - write my own versions of the messages, or re-implement those two methods?

Thanks,
Tom

Hi @tj1,

Yep, that’s what I mean. Your coding in C++, right? All these function do is retrieves an object’s mesh (if it has one). If it doesn’t, it generates and returns them.

– Dale