AD Create Controller
DESCRIPTION:
PLEASE NOTE, AS IT'S DEVELOPED IN PYTHON 2, THIS TOOL ONLY WORK IN MAYA 2020 OR BELOW VERSION CURRENTLY I WILL MIGRATE IT TO PYTHON 3 SOON, SORRY FOR THE INCONVENIENCE!
This file is a GUI for customizing creating controllers. The user can handle flexibility the input and call the functionality.
USAGE:
Before you run the tool, you have to drop the icons in 'ad_icons' directory into your Maya icon folder. Normally it creates default in this path :
C:\Users\Your Name \Documents\maya\version\prefs\icons
Drop ‘ad_scripts’ directory into your Maya script directory :
C:\Users\Your Name \Documents\maya\version\scripts
You have to load the shelf 'Adien' through clicking the gear icon in the top left corner of Maya and choose the load shelf.
Browse to the shelf 'Adien' file and load it.
You may continue to run this code below in Maya python script editor:
import maya.cmds as mc
ad = 'Adien'
mc.shelfLayout(ad, ex=1)
if mc.shelfLayout(ad, ex=1):
mc.deleteUI(ad)
mc.shelfLayout(ad, p="ShelfLayout")
mc.shelfButton(image="ad_icons/ad_ctrl_icon.png", l='Create Controller', command="from ad_scripts import ad_controller as ac \nreload(ac) \nac.ad_show_ui()", olb=(0, 0, 0, 0), olc=(.9, .9, .9))
OR
run this scipt on your Maya python tab script editor:
from ad_scripts import ad_controller as ac
reload(ac)
ac.ad_show_ui()
VIDEO TUTORIAL:
Version:
0.0 | 18 October 2020 | Initial release
1.0 | 18 October 2022 | Support Python 3 for Maya 2022
Terms of use:
Licenses are limited to a single user. If you have users more than those number please contact me at :