okey...I turned out that in the dinamyc property I had to introduce like in mel : -command and then "polycube()" as string... I though that launching the ui using python would need to write the dynamic property in python too,so I tried: command= and then "polyCube()" as string. And it wasn´t working because it had to be mel.
Any one knows what I am talking about. So now...why did I install PyQt4 in maya then?...I am just confused with what is Qt and what is PyQt4.I just load a ui made in Qt designer without having to import anything PyQt4 module...soooo....what is PyQt4...my head hurts.. 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
