View Single Post
  #1  
Old 02-15-2011, 09:24 PM
dcnieho dcnieho is offline
Member
 
Join Date: Feb 2011
Posts: 59
CustomNode - communicating error to Vizard

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
Code:
((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
Reply With Quote