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?
 
Referenced Model Post Load scripting

Referenced Model Post Load scripting

2004-08-18       - By Rafe Sacks

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Hello All!

Can anyone offer some wisdom in the area of Referenced Model Post Load
scripting? I can't seem to find a word of documentation. There is a line
of text in the Referenced Model PPG (in scene) that talks about a sub
which looks like a callback. I think I have it working, but it throws an
error. The odd thing is, it seems to run the code anyway.

Here is the test code I am using and the error message is causes....

   function RefModel_PostLoad( sModelName )
   {
       LogMessage( sModelName );      
   }


   //INFO : TestModel_v002_emdl
   //ERROR : 2109 - Failed to execute the script:
   C:\users\rafes_dev\Softimage\XSI_4.0\Application\Plugins\TestingPostLoad.js





Any help would be greatly appreciated!



__ ____ ____ ____ ____ ____ _____
R A F E   S A C K S
C h a r a c t e r    T e c h n i c a l    L e a d
A n i m a l    L o g i c   F i l m
+ 6 1 2    9 3 8 3 - 4 8 0 0


<!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="#000000">
<font color="#000099">Hello All!<br>
<br>
Can anyone offer some wisdom in the area of Referenced Model Post Load
scripting? I can't seem to find a word of documentation. There is a
line of text in the Referenced Model PPG (in scene) that talks about a
sub which looks like a callback. I think I have it working, but it
throws an error. The odd thing is, it seems to run the code anyway.<br>
<br>
Here is the test code I am using and the error message is causes....</font><br>
<blockquote><tt>function RefModel_PostLoad( sModelName )</tt><br>
 <tt>{</tt><br>
 <tt>&nbsp;&nbsp;&nbsp; LogMessage( sModelName );&nbsp;&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp; </tt><br>
 <tt>}</tt><br>
 <br>
 <br>
 <font color="#003300"><tt>//INFO : TestModel_v002_emdl</tt></font><br>
 <font color="#990000"><tt>//ERROR : 2109 - Failed to execute the
script:
C:\users\rafes_dev\Softimage\XSI_4.0\Application\Plugins\TestingPostLoad.js</tt
></font><br>
 <tt></tt></blockquote>
<div class="moz-signature"><tt><br>
<font color="#000099"><br>
<br>
<br>
Any help would be greatly appreciated!</font></tt><br>
<meta content="text/html; charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1" http-equiv="content-type">
<title>RafeSignature</title>
<meta content="Rafe Sacks" name="author">
<pre wrap=""><small><font face="Century Gothic"><font color="#000066"><font
color="#000066"><font style="color: rgb(192, 192, 192);"
color="#c0c0c0">

__ ____ ____ ____ ____ ____ _____</font>
</font></font></font><font face="Century Gothic"><font color="#000066"><small>
<small><font
color="#666666"><big><font color="#000066"><big><big>R</big></big> <big>A F E
</big>  <big><big>S</big></big> <big>A C K S
</big></font></big></font></small></small></font></font></small><small><font
color="#000066"><big><small><font face="Century Gothic"><small><span
style="color: rgb(102, 102, 102);">C h a r a c t e r    T e c h n i c a l    L
e a d</span>
<span style="color: rgb(102, 102, 102);">A n i m a l    L o g i c   F i l m <
/span>
<span style="color: rgb(102, 102, 102);">+ 6 1 2    9 3 8 3 - 4 8 0 0</span>
</small></font></small></big></font></small></pre>
</div>
</body>
</html>