oaMelMenu 1.1.0 (maya script)

Now works with Python scripts, too!

Th_oamelmenu

License Type:

Freeware

File ID:

3674

File Size:

7.1 KB

Created / Updated:

Sep 29, 2005 / Nov 19, 2007

Owner:

TopsoilArts   More free downloads from this user See users marketplace items See this users portfolio Send a Private Message

Platforms:

irix, linux, mac, windows

Downloaded:

1,715

Maya:

6.x, 7.x, 8.x

Tags:



 

<DESCRIPTION>

 

Creates a custom MEL menu that you could use to organize the MEL scripts
in your scripts folder (or anywhere, with slight modification). Creates a
menu item for each mel script.

 

Clicking on a menu item will execute the procedure of the same name. For
example, if the mel script is called myScript.mel, then the menu will try to
execute 'myScript;'.

 

Now works with Python scripts, too. Clicking on the menu item will execute the function of the same name. For example, if the python script is called myScript.py, the the menu will try to execute:
 python "import myScript; reload(myScript); myScript.myScript()".

 

Also creates an option box for each mel/python script that you could use to open the script externally.

 

The menu creates a submenu for every subdirectory in your script path
and appends all the directories to the MAYA_SCRIPT_PATH and to Python's sys.path!

 

Inspired by Advanced Character Pipeline and Tools,
AWGUA Siggraph 2003 - Maya Master Class Seminar,
Instructors: Erick Miller, Paul Thuriot. </DESCRIPTION>

 

<TO_USE>

 

Copy oaMelMenu.mel to your scripts folder.
Append 'oaMelMenu;' to your userSetup.mel file.
Start Maya. You should see a new menu called 'MEL'.

 

 o  To execute a mel script, just click on a menu item.

 

 o  Clicking on the option box will open the mel script externally
  with the default application associated with .mel/.py files.
  (Tested on Windows XP.)

 

 o   To change the root directory of the mel menu, change the
  $MEL_MENU_ROOT_DIR variable below (around line 87).

 

 o Click the 'Rebuild This Menu' menu item to refresh the 'MEL' menu.
  NOTE: This does not source all the mel scripts. If you are working
  on a mel script, you still have to source it yourself. </TO_USE>

 

<HISTORY>

 

 v1.1 (Monday, November 19, 2007)
  o Now works with Python scripts!

 

 v1.0 (September 29, 2005)
  o Original Release  </HISTORY>

 

IF YOU ENJOY THIS MEL SCRIPT, PLEASE RATE IT. I WOULD APPRECIATE IT. THANK YOU!

 


Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum to ask any questions.
Please rate my product in the Review section.

People who have favorited this file