solved...it turned out that it had to be wrote in mel.so -command ,not command=.And then "polyCube()" as the string I though that launching the ui using python would require to wite command =...but it doesn´t,I don´t know why.
On 10 ago, 00:15, rudi <[email protected]> wrote: > Hi, > > I just started to learning Qt.I tryed to do the same as shown in the > GDC maya 2011 demo,(http://area.autodesk.com/blogs/stevenr/ > maya_2011_highlight_qt_user_interface),but with pymel instead of mel. > I don´t understand how the create dynamic property works.For > example,what should I write in the property name, if I just want to > create a polyCube when the button is pushed? > I though that I just had to create a string dynamic property,and > then,in the property name write polyCube()...but nothing happens when > I push the button. > > R, -- http://groups.google.com/group/python_inside_maya
