  | | | Synoptic View setting up Code | Synoptic View setting up Code 2005-03-29 - By Matthew Lowery
Back Firstly, there is a section of code that defines the "SynopticSelect" function on the default synoptics, under the heading "Helper functions" ( there's a nice little selection collision function in there as well, worth keeping.) Looks like you may have deleted that section of code and so the software doesn't know what "SynopticSelect" is. If that is the case you can just cut and paste the missing code onto the bottom of your synoptic code.
Secondly it looks like you are trying to specify a sub routine called:
SelectObj "eff6", , True
...that looks suspiciously like a piece of code that has been cut and pasted from the script editor. All you need to do is specify a name for the sub, (something that is going to make sense when you read the code later).
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- sub eff6(in_obj) SynopticSelect in_obj, "eff6" end sub -- ---- ---- ---- ---- ---- ---- ---- ---- -----
that should do it. The coding in the standard synoptics are quite logical so try and keep you code in a similar format if you are just starting out.
m@
-- --Original Message-- -- From: walksfar@(protected) [mailto:walksfar@(protected)] Sent: Sunday, March 27, 2005 9:01 PM To: XSI@(protected) Subject: Synoptic View setting up Code
Hello, I reviewed the synoptic rigs and I've got it somewhat figured out. Here is the code I have to link a hotspot to a object in this case an effector of a chain but it does not work what am I missing? -- ---- ---- ---- ---- ---- ---- ---- ---- ---- SelectObj "name of object", , True
sub SelectObj "eff6", , True SynopticSelect (in_obj), "eff6"
end sub -- ---- ---- ---- ---- ---- ---- ---- ---- ----- --- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
.
Disclaimer in effect http://www.videolab.co.za/disclaimer.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12"> <TITLE>RE: Synoptic View setting up Code</TITLE> </HEAD> <BODY>
<P><FONT SIZE=2>Firstly, there is a section of code that defines the " ;SynopticSelect" function on the default synoptics, under the heading " ;Helper functions" ( there's a nice little selection collision function in there as well, worth keeping.)</FONT></P>
<P><FONT SIZE=2>Looks like you may have deleted that section of code and so the software doesn't know what "SynopticSelect" is. </FONT> <BR><FONT SIZE=2>If that is the case you can just cut and paste the missing code onto the bottom of your synoptic code.</FONT> </P>
<P><FONT SIZE=2>Secondly it looks like you are trying to specify a sub routine called: </FONT> </P>
<P><FONT SIZE=2>SelectObj "eff6", , True</FONT> </P>
<P><FONT SIZE=2>...that looks suspiciously like a piece of code that has been cut and pasted from the script editor. All you need to do is specify a name for the sub, (something that is going to make sense when you read the code later).< /FONT></P>
<P><FONT SIZE=2>-- ---- ---- ---- ---- ---- ---- ---- ---- ----</FONT> <BR><FONT SIZE=2>sub eff6(in_obj) < /FONT> <BR> <FONT SIZE=2>SynopticSelect in _obj, "eff6"</FONT> <BR><FONT SIZE=2>end sub</FONT> <BR><FONT SIZE=2>-- ---- ---- ---- ---- ---- ---- ---- ---- -----</FONT> </P>
<P><FONT SIZE=2>that should do it. The coding in the standard synoptics are quite logical so try and keep you code in a similar format if you are just starting out.</FONT></P>
<P><FONT SIZE=2>m@</FONT> </P>
<P><FONT SIZE=2>-- --Original Message-- --</FONT> <BR><FONT SIZE=2>From: walksfar@(protected) [<A HREF="mailto:walksfar@(protected) .ca">mailto:walksfar@(protected)</A>]</FONT> <BR><FONT SIZE=2>Sent: Sunday, March 27, 2005 9:01 PM</FONT> <BR><FONT SIZE=2>To: XSI@(protected)</FONT> <BR><FONT SIZE=2>Subject: Synoptic View setting up Code</FONT> </P> <BR>
<P><FONT SIZE=2>Hello, I reviewed the synoptic rigs and I've got it somewhat figured out. </FONT> <BR><FONT SIZE=2>Here is the code I have to link a hotspot to a object in this case an</FONT> <BR><FONT SIZE=2>effector of a chain but it does not work what am I missing? < /FONT> <BR><FONT SIZE=2>-- ---- ---- ---- ---- ---- ---- ---- ---- ----</FONT> <BR><FONT SIZE=2>SelectObj "name of object", , True</FONT> </P>
<P><FONT SIZE=2>sub SelectObj "eff6", , True</FONT> <BR> <FONT SIZE=2>SynopticSelect (in _obj), "eff6"</FONT> </P> <BR>
<P><FONT SIZE=2>end sub</FONT> <BR><FONT SIZE=2>-- ---- ---- ---- ---- ---- ---- ---- ---- -----</FONT> <BR><FONT SIZE=2>---</FONT> <BR><FONT SIZE=2>Unsubscribe? Mail Majordomo@(protected) with the following text in body:</FONT> <BR><FONT SIZE=2>unsubscribe xsi</FONT> </P> <BR>
<P><FONT SIZE=2>.</FONT> </P>
<FONT SIZE=3><BR> <BR> Disclaimer in effect http://www.videolab.co.za/disclaimer.html<BR> </FONT> </BODY> </HTML>
|
|
 |