Control Maya by typing commands

Category: Free work
Downloadable: Yes

This is a script inspired by ActiveType for 3ds Max. With this script you can quickly execute some python code or other commands. (creating sphere, open hypershade, etc)

Script version (python)

Requirements

  • Maya 8 and up
  • You need PySide to be installed. (ships with Maya 2014 by default). If you really need a PyQt version, please mail me.

Setup

  • Download the rar and unrar the folder in Maya’s script path (C:\Users\Jos\Documents\maya\scripts\ActiveTyping\).
  • To run it, execute this code in a python tab of the Maya script editor
     from ActiveTyping import activeTyping; activeTyping.show(False) 
  • To add a hotkey/shortcut go to Window ->  Settings/Preferences -> Hotkey Editor and add a new python hotkey in the user section with the code above.
  • GoTyping!

Plugin version (c# .NET)

I also made a c# .NET plugin for Maya. I made this to test out the new .NET API. This version is much faster than the script version! Version for 2016 is coming (send me an email if you already need it).

Requirements

Maya 2013 extention 2 and up

Setup

  • Download the plugin file (ActiveTyping.nll.dll) and place it in Maya’s plugin path (C:\Program Files\Autodesk\Maya2014\bin\plug-ins\).
  • (Re)start Maya and go to the Plug-in Manager (Window -> Settings/Preferences/Plug-in Manager) and check Loaded and Auto load.
  • To run it, execute this code in a MEL tab of the Maya’s script editor  
     activeTyping;
  • To add a hotkey/shortcut go to Window ->  Settings/Preferences -> Hotkey Editor and add a new mel hotkey in the user section with the code above.

Completion

completion of Maya commands and custom commands

Highlighting

Syntax Highlighting

Custom

Add your custom commands

Download Download

2 Comments

Qiao · February 16, 2016 at 6:32 pm

Hi Jos,
Hope you are doing well!
Thank you for sharing the script, I loved the idea.
Right now I’m having trouble making either the python script or the plugin working for Maya 2015 and 2016. I’m not sure if I didn’t do it right or your script requires lower version of Maya. Also, I l’m looking forward to your API version for 2016. If you could help me out that would be great?
Keep up the great work!!

Thanks again,
Qiao

Active Typing for Maya Plugin | Mayzie.net · November 28, 2013 at 11:57 pm

[…] More information is available on Jos’ website. […]

Leave a Reply

Your email address will not be published. Required fields are marked *