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 David Barosin

 Back
Reply:     1     2     3  

I use marking sets.  Just drag the displayInfo pset into the MarkingSet along
with any other parameters that you want to have keyed.  From there you can key
the markingSet.  
 -- -- Original Message -- --
 From: Matt Morris
 To: xsi@(protected)
 Sent: Friday, June 10, 2005 1:48 PM
 Subject: saving keys on cpsets using the synoptic


 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.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I use marking sets.&nbsp; Just drag the
displayInfo
pset into the MarkingSet along with any other parameters that you want to have
keyed.&nbsp; From there you can key the markingSet.&nbsp;&nbsp; </FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT:
#000000 2px solid; MARGIN-RIGHT: 0px">
 <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV>
 <DIV
 style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
 <A title=matt@(protected)
 href="mailto:matt@(protected)">Matt Morris</A> </DIV>
 <DIV style="FONT: 10pt arial"><B>To:</B> <A title=xsi@(protected)
 href="mailto:xsi@(protected)">xsi@(protected)</A> </DIV>
 <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, June 10, 2005 1:48 PM</DIV>
 <DIV style="FONT: 10pt arial"><B>Subject:</B> saving keys on cpsets using the
 synoptic</DIV>
 <DIV><BR></DIV>
 <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></BLOCKQUOTE></BODY></HTML>