Ok.I am so "smart" that hay imported al pymel during the GUI built with Tkinter.So everything was mixed. Anyway,getting back to the original problem,now using callback, the external script is well executed,but the entry text is ignored So I still get the joint created with no name....So the makeSkeleton script should get the value of the entry.I have added in the makeSkeleton code: charName=charNameEntry.get()
But of course,now the charNameEntry is not defined. On 3 dic, 00:10, rudi hammad <[email protected]> wrote: > It is Tkinter class(I think..).I didn´t but the wholes script because it is > very long. > I use Tkinter because if someday the sudio I´ll work in changes from maya to > xsi for example,I´ll still be able to built UI.¬¬ yes, I am lazy. > I got: > creatCharButton <type 'instance'> > > From: [email protected] > To: [email protected] > Subject: Re: [Maya-Python] Re: Comunication between GUI and external scripts? > Date: Wed, 2 Dec 2009 14:41:59 -0800 > > is Button a pymel or tkinter Button class? you never sent along the whole > script so i'm assumed that it was a pymel Button class and i don't believe > that they have a 'place' method. > you can find out by doing: > print `createCharButton`, type(createCharButton) > > -chad > > -- > > http://groups.google.com/group/python_inside_maya > > _________________________________________________________________ > Deja que Sietes te enseñe todo los secretos de > Windowshttp://www.sietesunpueblodeexpertos.com/ -- http://groups.google.com/group/python_inside_maya
