Thanks PixelMucher! I did a few UIs using Python in Maya but I did it all with Functions, some of the techguys at work told me to put it in a class so I figured I'll give it a try since my next step is to learn class. Thanks
On Wed, Jan 12, 2011 at 2:28 PM, PixelMuncher <[email protected]> wrote: > Look at "By Category" section of the Python section of the Maya > manual. > Most if not all of the commands include examples which include > creating a window. > If your as typeA as I am, you can copy the code to the script editor, > execute, then screen capture the resulting window and setup a > reference document with the screen capture and the code side by side. > > On Jan 12, 2:29 am, "[email protected]" > <[email protected]> wrote: > > Hello Everyone, > > > > I was just wondering. The Maya docs says "If you want to create your > > own UI in Maya, we recommend that you use Python" > > Does anyone know of good UI tutorials done in python? > > > > I tried running > > The following are some helpful tips. We recommend that you use the > > shelfEditorWindow.py file as a start and customize it accordingly. You > > can find the shelfEditorWindow.py file in the Maya installation > > directory, under the following path: > > > > * (Windows) > > > > ...\Python\Lib\site-packages\maya\app\general > > \shelfEditorWindow.py > > > > I got the error below, does anyone else got this? > > > > "# Error: line 1: AttributeError: file C:\Program Files\Autodesk > > \Maya2011\Python\lib\site-packages\pymel-1.0.0-py2.6.egg\maya\utils.py > > line 51: 'module' object has no attribute '__file__' # > > > > Thanks > > -- > http://groups.google.com/group/python_inside_maya > -- Martin La Land Romero www.martinromerovfx.com http://martinromerovfx.blogspot.com/ [email protected] (415)261-2172 -- http://groups.google.com/group/python_inside_maya
