Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Problem with XSI Events | Urgent help needed

Problem with XSI Events | Urgent help needed

2005-03-10       - By Ludovick William Michaud

 Back
Reply:     1     2     3  

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>
&nbsp;&nbsp;&nbsp; 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>