  | | | Referenced Model Post Load scripting | Referenced Model Post Load scripting 2004-08-18 - By Rafe Sacks
Back 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> LogMessage( sModelName ); </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>
|
|
 |