PDA

View Full Version : connect to secondary EulerXYZ


Chubb-Chubb
02-13-2007, 09:54 AM
Hy,

I seem to have a problem connecting my Custom attribute to my bone with my Macro.

In my scene i have my bone structure and my controller "handCtrl".
this controller has a custom attribute "Grip".

now i opened up my listener and enabled macro recording and dropped the code into my toolbar and modified it to fit the selection.

this is what i got:

macroScript addToGrip
category:"DragAndDrop"
toolTip:""
(
paramWire.connect $handCtrl.Custom_Attributes[#Grip] ($[3][2][2][2]) "Grip"
paramWire.connect $handCtrl.Custom_Attributes[#Grip] ($[3][2][2][2]) "degtorad (Grip)"
)

so i select an other bone and press my macro and nothing happens.
But when i do it by hand it does work.

does anyone see my error ?
Or does anyone have an answer/solution for this.

greets

--- edit ---
each of my bones has an secondary euler XYZ added with:

$.rotation.controller = rotation_list ()
$.rotation.controller.Available.controller = Euler_XYZ ()

CGTalk Moderation
02-13-2007, 09:54 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.