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, "martinmrom...@gmail.com"
<martinmrom...@gmail.com> 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

Reply via email to