Re: Read from SkeletonUpVectorOp?

Date : Wed, 20 Sep 2006 12:32:48 +0200
To : XSI(at)Softimage.COM
From : André Adam <a_adam(at)49games.de>
Subject : Re: Read from SkeletonUpVectorOp?
Brilliant, that works, thanks! Out of curiosity, where have I been digging around with the code snippet below (Selection(0) being the operator)?

var eGroups = new Enumerator(Selection(0).Portgroups);
while(!eGroups.atEnd()){
   LogMessage("Group: " + eGroups.item().Name)
   var ePorts = new Enumerator(eGroups.item().Ports);
   while(!ePorts.atEnd()){
       LogMessage("Type: " + ePorts.item().PortType);
       LogMessage("Connected: " + ePorts.item().IsConnected);
       ePorts.moveNext();
   }
   eGroups.moveNext();
}

//INFO : Group: Group_0
//INFO : Type: 1
//INFO : Connected: false
//INFO : Group: Group_1
//INFO : Type: 0
//INFO : Connected: false




Matthieu Royer wrote:
Find the target2 property of the inputPort.
lets say iOp is your SkeletonUpVectorOp,
iOp.InputPorts(0).target2 is the global kinematics to which it is connected.


matt.

André Adam a écrit :
Anyone having any idea how to retrieve the driving upvector object from a given SkeletonUpVectorOp or the bone itself? This thing keeps silent like a rock regardless what I try to make it return its inputs...

Thanks in advance for any hint... cheers!

   -André

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi




---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi



--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.