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?
 
Synoptic View setting up Code

Synoptic View setting up Code

2005-03-29       - By Matthew Lowery

 Back
Reply:     1     2     3  

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 &quot
;SynopticSelect&quot; function on the default synoptics, under the heading &quot
;Helper functions&quot; ( 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 &quot;SynopticSelect&quot; 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 &quot;eff6&quot;, , 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)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <
/FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>SynopticSelect in
_obj, &quot;eff6&quot;</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 &quot;name of object&quot;, , True</FONT>
</P>

<P><FONT SIZE=2>sub SelectObj &quot;eff6&quot;, , True</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>SynopticSelect (in
_obj), &quot;eff6&quot;</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>