HIK custom rig fingers´s wrong

PVerdugo9TFRR
Explorer
Explorer

HIK custom rig fingers´s wrong

PVerdugo9TFRR
Explorer
Explorer

Hi!
I have a problem when I want to combine a autorig with HIK.

Really all woks fine except fingers. Here is the explanation of the process step by step:

- I was mapping all joints of my custom rig. (The validation status indicator was green)

PVerdugo9TFRR_0-1601047892984.png

- I modified the CustomRigControlsConfig.xml file to adjust the Controls character layout. I Added hands and Toes (I copied the code of RigControlsConfig.xml) and for fingers I created my own code. 
Visually works fine, all controllers work fine except fingers (second and third phalanx).

 

PVerdugo9TFRR_1-1601048350423.png 

PVerdugo9TFRR_2-1601048379409.png

In this cases (second and third phalanx) maya fails and don´t let me link a custom controller

This is the Error:

# Error: file: C:/Program Files/Autodesk/Maya2020/scripts/others/retargeter.mel line 588: TypeError: file <maya console> line 3: unbound method toGraph() must be called with DefaultRetargeter instance as first argument (got NoneType instance instead) #

 

I hope you can help me
Thanks for our time 

 

 

 

Reply
Accepted solutions (1)
4,221 Views
13 Replies
Replies (13)

juggernate
Explorer
Explorer

@PVerdugo9TFRR did you ever find a resolution to this? I'm running into the same issue

0 Likes

PVerdugo9TFRR
Explorer
Explorer

Not yet 😞

0 Likes

juggernate
Explorer
Explorer
Accepted solution

I think it has to do with those internal ID values, though I'm not finding these documented anywhere. It appears you can find them exporting the skeleton definition xml.

Start at the reference/root node as index 0 (simple way to do this is just remove the first few lines and look at your text editor's line numbers so key="Hips" is line 1)

For example, on your attached xml I changed the id value on line 326 from id=184 to id=83, and could map it as expected.

 
 

PVerdugo9TFRR
Explorer
Explorer

Thank you very much for everything!
I had lost this message and haven't seen it until today. Finally all my fingers work !!! 🙂
Thank you :)!

skylarzNLZ3G
Explorer
Explorer

Hey!

I'm dyin here. This is the only thread I can find that has the same(ish) problem as myself. I cannot get additional finger joints to work with my custom rig. Its only reading In_Thumb and _Thumb Joints in the custom rig effector. Can you perhaps share what your final finger joints .xml looks like?No fingers!.PNG

PVerdugo9TFRR
Explorer
Explorer

Hi!!!

I understand you because the same thing happened to me, there is not much information! Here is the .xml I hope it helps you :)!
All the best

skylarzNLZ3G
Explorer
Explorer

Well.. You guys saved my bacon!  I have been adding constraints from the mocap data to my characters controllers up until this point. This is a pain, because it has to be done on every take. If you or @juggernate ever want to come by the mocap studio, drop me a line! 
skylarz@nait.ca

Thanks again for following up.
Skylar,
NAIT MOCAP Studio Lead

PVerdugo9TFRR
Explorer
Explorer

Hi Skylar!
Glad it works now 🙂
I live in Barcelona and the mocap studio catches me a bit far but thank you very much anyway !!!

0 Likes

Anonymous
Not applicable
Hey man, I tried out applying this system for my own rig, but for some reason I've only been able to get a few of the fingers working. Might I ask how you managed to get it working? I'm not a coder, so this type of stuff is way above my head.
0 Likes

PVerdugo9TFRR
Explorer
Explorer

Try loading the file from message 7. It should work perfect for you and it's already programmed :)!

0 Likes

skylarzNLZ3G
Explorer
Explorer
Agreed. It does work.
However, I made my own to make sure i understood the concept.
One thing to look out for, I was having intermittent issues getting the file to actually load and save presently in my Autodesk folders. It kept displaying the old schematics despite having the new one loaded. Just restart maya, restart computer, double check your folders and file paths, and you'll get it.

Sky
0 Likes

markus.paasila
Explorer
Explorer

Hey, I'm getting the same error after using the XML from message 7. I replaced the CustomRigControlsConfig in my CharacterControls folder. Is there something else to do?

I want to get finger controls for the custom rig working.

 

# Error: file: C:/Program Files/Autodesk/Maya2020/scripts/others/retargeter.mel line 588: TypeError: file <maya console> line 3: unbound method toGraph() must be called with DefaultRetargeter instance as first argument (got NoneType instance instead) #

0 Likes

bebetin25
Community Visitor
Community Visitor

Hi!

 

thank you very much for the .xml. Any idea why maya give this error when I attempt to load the ui configuration?

 

bebetin25_0-1646780347856.png

0 Likes