WorldViz User Forum  

Go Back   WorldViz User Forum > Plug-in development

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-15-2011, 10: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
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Realistic Light and Shadows Using Vizard and 3DS Max jde Vizard 4 07-13-2012 11:58 AM
Vizard 4 Beta Testing farshizzo Announcements 0 02-01-2011 11:46 AM
Vizard 4 Beta Testing farshizzo Vizard 0 02-01-2011 11:46 AM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 12:13 PM
Vizard tech tip: Text to Speech Jeff Vizard 1 01-15-2009 10:39 PM


All times are GMT -7. The time now is 03:29 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC