Fk2Ik error
Posted: Wed Apr 24, 2013 5:41 am
Hi,
I've installed the AnimSchoolPicker and have been testing it on Malcolm referenced into my scene (namespace: malcolm).
I noticed that the Fk2Ik switch gave me an error message: "No object matches name: malcolm:fkElbowMatchRt"
As a result, the ArmPoleVector isn't matched up to the FK position, and the rest of the script isn't carried out, which means that the "Ik" attribute in the ArmIk controller isn't set to 1.
I don't know if this is a general problem, or if it's somehow only happening for me. Anyway, I did a search in the .ma text document, and couldn't find anything named "Elbow" or "Match" (except for HandMatch), so it seems like this element is completely missing from the rig. Maybe it's there but has a completely different name?
I came up with a fix that seems to work, but if this is indeed an error that is happening not only for me, it would be great if you could address it.
For anyone interested, my fix is as follows:
1) Create a locator and snap it to the position of the ArmPoleVector. Freeze transformations.
2) Rename locator to namespace:fkElbowMatchRt/Lf
3) Parent constrain the locator to the FK elbow controller (ctlArmLoRt/Lf)
3) In picker window, right click on Fk2Ik button -> Edit Command Button...
4) In the section concerning the ElbowMatch and ArmPoleVector, change "move -a -ws ..." to "move -a -os ..." and hit OK
I haven't tested it extensively yet, but it seems to work nicely so far.
I've installed the AnimSchoolPicker and have been testing it on Malcolm referenced into my scene (namespace: malcolm).
I noticed that the Fk2Ik switch gave me an error message: "No object matches name: malcolm:fkElbowMatchRt"
As a result, the ArmPoleVector isn't matched up to the FK position, and the rest of the script isn't carried out, which means that the "Ik" attribute in the ArmIk controller isn't set to 1.
I don't know if this is a general problem, or if it's somehow only happening for me. Anyway, I did a search in the .ma text document, and couldn't find anything named "Elbow" or "Match" (except for HandMatch), so it seems like this element is completely missing from the rig. Maybe it's there but has a completely different name?
I came up with a fix that seems to work, but if this is indeed an error that is happening not only for me, it would be great if you could address it.
For anyone interested, my fix is as follows:
1) Create a locator and snap it to the position of the ArmPoleVector. Freeze transformations.
2) Rename locator to namespace:fkElbowMatchRt/Lf
3) Parent constrain the locator to the FK elbow controller (ctlArmLoRt/Lf)
3) In picker window, right click on Fk2Ik button -> Edit Command Button...
4) In the section concerning the ElbowMatch and ArmPoleVector, change "move -a -ws ..." to "move -a -os ..." and hit OK
I haven't tested it extensively yet, but it seems to work nicely so far.