I'm using a modified version of this beanshell script found here:

https://www.creativecrash.com/maya/downloads/applications/syntax-scripting/c/jedit-maya-mel-docs-search

Just replace:
line 48
String baseURL = "file:/C:/Program
Files/Alias/Maya7.0/docs/Documents/Maya7.0/en_US/melCommands/";

with a correct path to the python command docs directory such as

String baseURL = "file:/c:/Program
Files/Autodesk/Maya2010/docs/Maya2010/en_US/CommandsPython/";

You can rename the "melDocs_Search.bsh" to something like "Maya Python
Docs.bsh" or whatever.

Then place it in your some of jEdit macros directory, rescan your macros or
restart jEdit, you should see a new menuItem
in your macros menu.

After that when you run this macro it asks you to enter a command name,
press enter and that's it. If you type
the command name wrong it fails, it just load the html file into infoViewer.
Also if you have a command name selected
in the script an run the macro it automatically uses that word as the
command input.

To make some little chan
Hope it helps and works. It does for me.

2010/7/20 PixelMuncher <[email protected]>

> Does anyone know how to get jEdit to display Maya Python Docs?
> I'm using the jEdit Maya Editor Plugin w/Maya 2011.
> When I use the 'execute' command to send commands from jEdit to Maya,
> jEdit locks up (WinXP x64, JRE build 1.6.0_20-b02), but I realize that
> things have changed in 2011, so I can live without that
> However, I'd like to get the display of the Python Docs working. The
> display of the Mel Docs are working fine using infoViewer internal,
> but nothing happens when I try to display pythonDocs.
>
> I've found this workaround:
> jEdit/Utilities/Edit Options/Buffer Mode: Set to python (rather than
> python_Maya). This will display the mel version of the command and on
> that page is a link to the python version.
> However, being nth degree detail oriented, I of course want it to work
> correctly.
>
> In my Maya Editor Plugin options, I have:
> Mel path - C:\Program Files\Autodesk\Maya2011\docs\Maya2011\en_US
> \Comman ds\
> Py path - C:\Program Files\Autodesk\Maya2011\docs\Maya2011\en_US
> \Comman dsPython\
> Thanks.
>
> --
> http://groups.google.com/group/python_inside_maya

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to