Thread: Sdk
View Single Post
  #29  
Old 07-16-2012, 04:04 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
It looks like you are setting the return value incorrectly. Try using the macro for setting return exceptions:
Code:
PYTHON_DATA_EXCEPTION(data,PyExc_RuntimeError, "errorstring");
Reply With Quote