Notifications
Clear all

[Closed] connect to secondary EulerXYZ

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 ()