  | | | Problem with XSI Events | Urgent help needed | Problem with XSI Events | Urgent help needed 2005-03-10 - By Ludovick William Michaud
Back Ok boyz and girlz,
I need help on this pretty fast. I'm using the following event OnBeginSceneSave
But somehow I get to call my code it gets run alright but then xsi cancels the Save command. Thus I'm not saving the scene.
Here's the code that I'm calling. Or rather the way I'm calling it. Event is installed. Now when the event gets triggered it looks for a the right file which has this info. (that's the whole code of the triggered event for now)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- def XSIApplication_OnBeginSceneSave(*args): Application.Logmessage("HelloWorld") -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
Now I get the Logmessage Alright. But then XSI says that the save command got canceled.... I'm lost. I'm using the OnEndOpenScene event with no problems. So I can't figure out what I'm doing wrong. And I need this to work in order to have a workaround for a huge bug in XSI with Reference Model and Light List.
-- Ludo
Ludovick William Michaud (loo-doh-vik wil-ee-am me-show) Technical Director Janimation Inc. www.janimation.com
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#003300"> <font face="Arial Narrow">Ok boyz and girlz, <br> <br> I need help on this pretty fast. <br> I'm using the following event<br> OnBeginSceneSave<br> <br> But somehow I get to call my code it gets run alright but then xsi cancels the Save command. Thus I'm not saving the scene.<br> <br> Here's the code that I'm calling. Or rather the way I'm calling it.<br> Event is installed. Now when the event gets triggered it looks for a the right file which has this info. (that's the whole code of the triggered event for now)<br> <br> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----<br> def XSIApplication_OnBeginSceneSave(*args):<br> Application.Logmessage("HelloWorld")<br> </font><font face="Arial Narrow">-- ---- ---- ---- ---- ---- ---- ---- ---- --- -- ---- ---- ---- ---- ---<br> <br> </font><font face="Arial Narrow">Now I get the Logmessage Alright. But then XSI says that the save command got canceled....<br> I'm lost. I'm using the OnEndOpenScene event with no problems. So I can't figure out what I'm doing wrong. And I need this to work in order to have a workaround for a huge bug in XSI with Reference Model and Light List. <br> <br> </font> <div class="moz-signature">-- <br> <title>Ludo Signature</title> <meta http-equiv="Content-Type" content="text/html; "> <meta content="MSHTML 6.00.2800.1400" name="GENERATOR"> <div align="left"><font face="Arial Narrow">Ludo<br> <br> </font><font face="Arial Narrow"><font size="2">Ludovick William Michaud<br> (loo-doh-vik wil-ee-am me-show)<br> Technical Director<br> Janimation Inc.<br> <a class="moz-txt-link-abbreviated" href="http://www.janimation.com">www .janimation.com</a></font><font size="2"> </font></font></div> </div> </body> </html>
|
|
 |