PDA

View Full Version : CustomNode - communicating error to Vizard


dcnieho
02-15-2011, 09:24 PM
Dear All,

I have a question about communicating error states to Vizard from my plugin.
From inside the InitCustomNode and AddCustomNode functions, one can simply set
((VizCustomNodeObj*)custom)->status = 0; which will cause Vizard to halt.

I can't use this however from the CommandCustomNode function, it seems this is ignored by Vizard. Simply letting exceptions thrown from my code propagate to Vizard crashes everything (of course), so that's not ideal either.

How can I communicate such error states to Vizard so that execution halts?

Thanks!
Best,
Dee