  | | | saving keys on cpsets using the synoptic | saving keys on cpsets using the synoptic 2005-06-10 - By David Barosin
Back 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. 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. </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> </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> </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> </DIV> <DIV><FONT face=Arial size=2><SPAN class=298234117-10062005>sub key_all(in_obj)</SPAN></FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2><SPAN class=298234117-10062005> dim sel<BR> Set sel = GetValue("SelectionList")<BR> set oRoot = Application.ActiveProject.ActiveScene.Root<BR> set myObj = oRoot.FindChild(in_obj)<BR> SelectObj myObj.model & ".Global_SRT", "BRANCH"<BR> SelectChildNodes<BR> SetMarking "MarkingSet"<BR> SaveKey<BR> SelectObj sel</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=298234117-10062005></SPAN></FONT> </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> </DIV> <DIV><FONT face=Arial size=2><SPAN class=298234117-10062005>And this is what I added to the select all command to make it work:</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=298234117-10062005></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=298234117-10062005> ToggleSelection myObj.model & ".LeftFoot.DisplayInfo"<BR> ToggleSelection myObj.model & ".RightFoot.DisplayInfo"</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=298234117-10062005></SPAN></FONT> </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> </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> </DIV> <DIV><FONT face=Arial size=2><SPAN class=298234117-10062005></SPAN></FONT> </DIV></BLOCKQUOTE></BODY></HTML>
|
|
 |