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?
 
saving keys on cpsets using the synoptic

saving keys on cpsets using the synoptic

2005-06-10       - By Matt Morris

 Back
Reply:     1     2     3  

Hi list,

so I've got a couple of DisplayInfo parameter sets underneath my foot
controls, and needs to be able to key these at the same time as keying
everything else.

I can create a select all command in the synoptic easily enough by adding
them to the selection using ToggleSelection, but can't do the same with
keying.
This is what I have so far (obviously harvested from the xsi synoptic):

sub key_all(in_obj)

dim sel
Set sel = GetValue("SelectionList")
set oRoot = Application.ActiveProject.ActiveScene.Root
set myObj = oRoot.FindChild(in_obj)
SelectObj myObj.model & ".Global_SRT", "BRANCH"
SelectChildNodes
SetMarking "MarkingSet"
SaveKey
SelectObj sel

end sub

And this is what I added to the select all command to make it work:

ToggleSelection myObj.model & ".LeftFoot.DisplayInfo"
ToggleSelection myObj.model & ".RightFoot.DisplayInfo"

Can't figure out for the life of me how to key the cpsets within the key_all
command. Any ideas gratefully received as always :)

Matt


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=298234117-10062005>Hi
list,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=298234117-10062005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=298234117-10062005>so I've got a
couple
of DisplayInfo parameter sets underneath my foot controls, and needs to be able
to key these at the same time as keying everything else.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=298234117-10062005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=298234117-10062005>I can create a
select all command in the synoptic easily enough by adding them to the
selection
using ToggleSelection, but can't do the same with keying. </SPAN></FONT><FONT
face=Arial size=2><SPAN class=298234117-10062005></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=298234117-10062005>This is what I have
so far (obviously harvested from the xsi synoptic):</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=298234117-10062005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=298234117-10062005>sub
key_all(in_obj)</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=298234117-10062005>&nbsp;dim
sel<BR>&nbsp;Set sel = GetValue("SelectionList")<BR>&nbsp;set oRoot =
Application.ActiveProject.ActiveScene.Root<BR>&nbsp;set myObj =
oRoot.FindChild(in_obj)<BR>&nbsp;SelectObj myObj.model &amp; ".Global_SRT",
"BRANCH"<BR>&nbsp;SelectChildNodes<BR>&nbsp;SetMarking
"MarkingSet"<BR>&nbsp;SaveKey<BR>&nbsp;SelectObj sel</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=298234117-10062005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=298234117-10062005>end
sub</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=298234117-10062005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=298234117-10062005>And this is what
I&nbsp;added to&nbsp;the select all command to make it work:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=298234117-10062005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN
class=298234117-10062005>&nbsp;ToggleSelection myObj.model &amp;
".LeftFoot.DisplayInfo"<BR>&nbsp;ToggleSelection myObj.model &amp;
".RightFoot.DisplayInfo"</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=298234117-10062005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=298234117-10062005>Can't figure out
for
the life of me how to key the cpsets within the key_all command. Any ideas
gratefully received as always :)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=298234117-10062005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN
class=298234117-10062005>Matt</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=298234117-10062005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN
class=298234117-10062005></SPAN></FONT>&nbsp;</DIV></BODY></HTML>