Ok.I found the problem:I am an idiot ¬ ¬ ... The script is trying to select: select(charName + "_r_fingerLittleBasejnt_sk_C") and the actual node is named: charName + "_r_fingerlittleBasejnt_sk_C" Sorry for bothering you about that.
On 1 ene, 22:07, rudi <[email protected]> wrote: > why a dot between them?I am just adding 2 strings.(about underscore > you are right,I forgot it,but it is not the problem.I checked) > It is weird because the node does exist.It is the scene.Anyway,that´s > ok. > I´ll find a way to work around it. > R > > On 1 ene, 21:32, Dado Feigenblatt <[email protected]> wrote: > > > 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... > > - PaulOn 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
