> Oftentimes those problems are easily dealt with by turning them into  
> regular python strings by calling str(myQString).

this is a MEL GUI not PyQt.  the issue is that 'makeSkeleton' is being  
executed when it is being assigned to the button command flag.

> createCharButton=Button([...]command=makeSkeleton(charName))

the button needs to receive a 'live' callable object.  i'd be  
surprised if the button does anything at all because makeSkeleton  
returns None and that None value is what is assigned to the button  
callback, not the function. you'll want to use the pymel Callback  
class to resolve this.  the docs i sent out should clear everything up.

-chad


-- 
http://groups.google.com/group/python_inside_maya

Reply via email to