Synoptic Editor Recap 2005-04-07 - By Rafe Sacks
Back I sent this the other day but It didn't get through....
Hi walksfar
I haven't used the built in Synoptics for some time now; is SynopticSelect() an XSI command? I don't remember it being in the SDK, If this is indeed the case, your sub should throw an error similar to: "Object Expected...". Can you post the Select function your using? Are you getting error messages?
If your looking for something ultra simple, try selecting the object then copying the generated line of code in the Script Editor into your sub. Again, it has been a long time, so this could be wrong, but I think "in_obj", in your sub, is equal to the synoptic's parent object in the scene. If I am right, replace the model in the select code with "in_obj.Model" It ill look something like this:
sub eff6( in_obj ) SelectObj in_obj.Model & ".eff6"; end sub
--
__ ____ ____ ____ ____ ____ ____ R A F E S A C K S Lead Character TD - Technical Animal Logic Film +612 9383 - 4800
Graham D Clark wrote:
>SynopticSlect I recalll is one of MIsners built in functions so if its >not in the synoptic script then it can't be called to work. > >I think the thing that would help you the most is to do some vbs tuts >in the area of subroutines, functions, and then trying you your >scripts straight form the script editor in XSI before tackling them in >the synoptic, it will make much more sense, will showcase better for >you what functions are being called, how to set them up, and give >better feedback. > >Graham > > > > >On Apr 6, 2005 11:35 PM, kim aldis <kim@(protected)> wrote: > > >>When you say it didn't work; can you give us more detail? Like what were the >>error messages. >> >> >> >>>-- --Original Message-- -- >>>From: owner-xsi@(protected) >>>[mailto:owner-xsi@(protected)] On Behalf Of walksfar@(protected) >>>Sent: 06 April 2005 18:03 >>>To: XSI@(protected) >>>Subject: Synoptic Editor Recap >>> >>>Hello there, I have created my preview window for the >>>synoptic editor and I create hotspots in the areas in which I >>>would like to link it up to the scene object. In this case >>>it is a effector of a chain. I was informed to link the >>>object effector to the synoptic editor or vise versa to do the >>>following: >>> >>>sub eff6(in_obj) >>>SynopticSelect in_obj, "eff6" >>>end sub >>> >>> >>>I put this code into the synoptic editor for one of the >>>hotspots and tried it. It did not work, it didn't link with >>>the effector in this case "effector 6". What am I doing >>>wrong ? I do not have the main synoptic HTML linking to >>>another HTML file as you can do, because I don't want that. >>>Can you please help me someone so I can understand the >>>synoptic editor and apply it to projects. >>> >>>Thank You >>>walksfar@(protected) >>>--- >>>Unsubscribe? Mail Majordomo@(protected) with the following >>>text in body: >>>unsubscribe xsi >>> >>> >>> >>> >>--- >>Unsubscribe? Mail Majordomo@(protected) with the following text in body: >>unsubscribe xsi >> >> >> > > > >
--
__ ____ ____ ____ ____ ____ ____ R A F E S A C K S Lead Character TD - Technical Animal Logic Film +612 9383 - 4800
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1"> <title></title> </head> <body text="#000000" bgcolor="#ffffff"> <small><font face="Helvetica, Arial, sans-serif"> I sent this the other day but It didn't get through....</font></small><br> <br> <small><font face="Helvetica, Arial, sans-serif" color="#000099">Hi walksfar</font></small><br> <br> <small><font face="Helvetica, Arial, sans-serif" color="#000099">I haven't used the built in Synoptics for some time now; is SynopticSelect() an XSI command? I don't remember it being in the SDK, If this is indeed the case, your sub should throw an error similar to: "Object Expected...". Can you post the Select function your using? Are you getting error messages?<br> </font><font face="Helvetica, Arial, sans-serif"><br> <font color="#000099"><br> If your looking for something ultra simple, try selecting the object then copying the generated line of code in the Script Editor into your sub. Again, it has been a long time, so this could be wrong, but I think "in_obj", in your sub, is equal to the synoptic's parent object in the scene. If I am right, replace the model in the select code with "in_obj.Model" It ill look something like this:</font></font></small><br> <br> <pre wrap=""><tt><font color="#000099">sub eff6( in_obj ) <small><big> SelectObj in_obj.Model & "</big></small><big><small>.eff6< /small></big><small><big>";</big></small> end sub
</font></tt></pre> <br> -- <br> <div class="moz-signature"> <pre wrap=""><small><font face="Century Gothic"><font color="#000066"><font color="#000066"><font color="#c0c0c0" style="color: rgb(192, 192, 192);"><span style="font-family: helvetica,arial,sans-serif;"></span></font></font></font>< /font></small><span style="font-family: helvetica,arial,sans-serif; color: rgb(204, 204, 204);"> <small><big><small><font face="Century Gothic"><small><span style="font-family: helvetica,arial,sans-serif;"></span></small></font></small ></big></small></span><span style="color: rgb(102, 102, 102); font-family: helvetica,arial,sans-serif;"> <span style="color: rgb(153, 153, 153);"><span style="font-family: helvetica,arial,sans-serif;"><span style="color: rgb(102, 102, 102); font-family: helvetica,arial,sans-serif;"> <small><font color="#000066"><font color="#000066"><font color="#c0c0c0" style="color: rgb(204, 204, 204);">__ ____ ____ ____ ____ ____ ____</font> </font></font><font style="font-family: helvetica,arial,sans-serif;"><font color="#000066"><small><small><font color="#666666"><big><font color="#000066"><big><big><small style="font-weight: bold;">R A F E S A C K S</small><span style="font-weight: bold;"></span></big> </big></font></big></font></small></small></font></font></small><small style="color: rgb(153, 153, 153);"><big><small><small><span style="color: rgb(192, 192, 192);">Lead Character TD - Technical</span> <span style="color: rgb(192, 192, 192);">Animal Logic Film</span> <span style="color: rgb(192, 192, 192);">+612 9383 - 4800</span></small>< /small></big></small></span></span></span></span></pre> </div> <br> <br> Graham D Clark wrote:<br> <blockquote type="cite" cite="mid5269b193050407014051d089f2@(protected)"> <pre wrap="">SynopticSlect I recalll is one of MIsners built in functions so if its not in the synoptic script then it can't be called to work.
I think the thing that would help you the most is to do some vbs tuts in the area of subroutines, functions, and then trying you your scripts straight form the script editor in XSI before tackling them in the synoptic, it will make much more sense, will showcase better for you what functions are being called, how to set them up, and give better feedback.
Graham
On Apr 6, 2005 11:35 PM, kim aldis <a class="moz-txt-link-rfc2396E" href= "mailto:kim@(protected)"><kim@(protected)></a> wrote: </pre> <blockquote type="cite"> <pre wrap="">When you say it didn't work; can you give us more detail? Like what were the error messages.
</pre> <blockquote type="cite"> <pre wrap="">-- --Original Message-- -- From: <a class="moz-txt-link-abbreviated" href="mailto:owner-xsi@(protected)" >owner-xsi@(protected)</a> [<a class="moz-txt-link-freetext" href="mailto:owner-xsi@(protected)">mailto :owner-xsi@(protected)</a>] On Behalf Of <a class="moz-txt-link-abbreviated" href="mailto:walksfar@(protected)">walksfar@(protected)</a> Sent: 06 April 2005 18:03 To: <a class="moz-txt-link-abbreviated" href="mailto:XSI@(protected)">XSI @(protected)</a> Subject: Synoptic Editor Recap
Hello there, I have created my preview window for the synoptic editor and I create hotspots in the areas in which I would like to link it up to the scene object. In this case it is a effector of a chain. I was informed to link the object effector to the synoptic editor or vise versa to do the following:
sub eff6(in_obj) SynopticSelect in_obj, "eff6" end sub
I put this code into the synoptic editor for one of the hotspots and tried it. It did not work, it didn't link with the effector in this case "effector 6". What am I doing wrong ? I do not have the main synoptic HTML linking to another HTML file as you can do, because I don't want that. Can you please help me someone so I can understand the synoptic editor and apply it to projects.
Thank You <a class="moz-txt-link-abbreviated" href="mailto:walksfar@(protected)">walksfar @(protected)</a> --- Unsubscribe? Mail <a class="moz-txt-link-abbreviated" href="mailto:Majordomo @(protected)">Majordomo@(protected)</a> with the following text in body: unsubscribe xsi
</pre> </blockquote> <pre wrap="">--- Unsubscribe? Mail <a class="moz-txt-link-abbreviated" href="mailto:Majordomo @(protected)">Majordomo@(protected)</a> with the following text in body: unsubscribe xsi
</pre> </blockquote> <pre wrap=""><!---->
</pre> </blockquote> <br> <br> <div class="moz-signature">-- <br> <meta content="text/html; " 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"><span style="font-family: helvetica,arial,sans-serif;"></span> </font></font></font></font></small><span style="font-family: helvetica,arial,sans-serif; color: rgb(204, 204, 204);"> <small><big><small><font face="Century Gothic"><small><span style="font-family: helvetica,arial,sans-serif;"></span></small></font></small ></big></small></span><span style="color: rgb(102, 102, 102); font-family: helvetica,arial,sans-serif;"> <span style="color: rgb(153, 153, 153);"><span style="font-family: helvetica,arial,sans-serif;"><span style="color: rgb(102, 102, 102); font-family: helvetica,arial,sans-serif;"> <small><font color="#000066"><font color="#000066"><font style="color: rgb(204, 204, 204);" color="#c0c0c0">__ ____ ____ ____ ____ ____ __ __</font> </font></font><font style="font-family: helvetica,arial,sans-serif;"><font color="#000066"><small><small><font color="#666666"><big><font color="#000066"><big><big><small style="font-weight: bold;">R A F E S A C K S</small><span style="font-weight: bold;"></span></big> </big></font></big></font></small></small></font></font></small><small style="color: rgb(153, 153, 153);"><big><small><small><span style="color: rgb(192, 192, 192);">Lead Character TD - Technical</span> <span style="color: rgb(192, 192, 192);">Animal Logic Film</span> <span style="color: rgb(192, 192, 192);">+612 9383 - 4800</span>
</small></small></big></small></span></span></span></span><span style="color: rgb(102, 102, 102); font-family: helvetica,arial,sans-serif;"> <small style="color: rgb(153, 153, 153);"><big><small><font face="Century Gothic"><small><span style="font-family: helvetica,arial,sans-serif;"> </span></small></font></small></big></small></span></pre> </div> </body> </html>
|
|