HDK: Set status message

   1041   0   0
User Avatar
Member
10 posts
Joined: Feb. 2016
Offline
Hi,

I'm writing a custom SOP node in HDK using NodeVerb. I've been trying to figure out how to display the status/progress message on the cook bar, however haven't had success so far. Looking at the doc, I would think UT_AutoInterrupt is the class to do so?

I've been adding this throughout my code:

UT_AutoInterrupt interrupt("Pre computing");
if (interrupt.wasInterrupted())
    return;

However, it doesn't seem to do the trick. Am I missing something?

Thanks,
  • Quick Links