Shouldn't there be a dot between the character name and the joint name?
Also, shouldn't the name of the last joint begin with an underscore?
dado
Paul Molodowitch wrote:
The error means that you're trying to select a node that
doesn't exist... to get more information, look into the menus for the
script editor for an option to turn on tracebacks. By default, Maya no
longer prints tracebacks...
- Paul
On Fri, Jan 1, 2010 at 5:04 AM, rudi <[email protected]>
wrote:
Hi,
I have built a simple script for creating automaticly a hand that has
2 arguments:the name of the character and the side.Somo I call it like
so:
rh_quickHand.quickHand(charName,"right")
Everything works fine,all finger joints created in the scene
Ok.Now,when I wright this to select the base joints:
select(charName + "_r_fingerLittleBasejnt_sk_C")
select((charName +"_fingerRingBasejnt_sk_C"),tgl=True)
select((charName +"_r_fingerMiddleBasejnt_sk_C"),tgl=True)
select((charName +"_r_fingerIndexBasejnt_sk_C"),tgl=True)
select((charName +"fingerThumbBasejnt_sk_C"),tgl=True)
The error appears after selecting the first joint (charName +
"_r_fingerLittleBasejnt_sk_C"),and all it is says is
# Error: MayaNodeError: #
¿¿??
I didn´t wanted to post this because most error are silly mistakes I
do,but here I am just doing a simple selection,and I have no idea what
it is.
--
http://groups.google.com/group/python_inside_maya
--
http://groups.google.com/group/python_inside_maya
--
http://groups.google.com/group/python_inside_maya
|