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