M-J
10-04-2002, 03:06 PM
hi everyone,
i recently stumbled across a problem in maya while trying to write a MEL-script and i just don't seem to find a logical solution to this, so i thought maybe one of you knows:
well, the situation was that i had an object A which was pointConstrained to an object B, so the translate channels of A were controlled by B.
when i now use the command "connectionInfo -destinationFromSource B.tx/ty/tz" then i get the pointConstraint-Node as the destination for each of B's translate channels. now, when i use e.g. B's translateY channel as a driver for another object C via a set driven key then i don't get the pointConstraint-Node as a destination for that channel anymore, but i get C's driven channel.
that doesn't make any sense to me especially when i use the connectionInfo command on the constrained object A ("connectionInfo -sourceFromDestination A.tx/ty/tz") . then i get the pointConstraint-Node as a source for every translate channel of object A. so the connection is still there but it isn't listed anymore from B's point of view. what does that mean? how does maya know that there's still a pointConstraint-connection from B's translateY-channel to A's translateY-channel?
i hope you all get what i'm trying to say :-) and i hope someone can help me with that
thanx guys
MJ
i recently stumbled across a problem in maya while trying to write a MEL-script and i just don't seem to find a logical solution to this, so i thought maybe one of you knows:
well, the situation was that i had an object A which was pointConstrained to an object B, so the translate channels of A were controlled by B.
when i now use the command "connectionInfo -destinationFromSource B.tx/ty/tz" then i get the pointConstraint-Node as the destination for each of B's translate channels. now, when i use e.g. B's translateY channel as a driver for another object C via a set driven key then i don't get the pointConstraint-Node as a destination for that channel anymore, but i get C's driven channel.
that doesn't make any sense to me especially when i use the connectionInfo command on the constrained object A ("connectionInfo -sourceFromDestination A.tx/ty/tz") . then i get the pointConstraint-Node as a source for every translate channel of object A. so the connection is still there but it isn't listed anymore from B's point of view. what does that mean? how does maya know that there's still a pointConstraint-connection from B's translateY-channel to A's translateY-channel?
i hope you all get what i'm trying to say :-) and i hope someone can help me with that
thanx guys
MJ
