¶Maya
¶Running Shift in Maya
Shift provides a mshift
utility script to properly bind the Shift UI to Maya. In order to run and open Shift in Maya, execute the following code block inside the Maya Python Script Editor:
try:
import shift
except:
import sys
sys.path.append("<path_to_the_shift_installation_folder>")
sys.path.append("<path_to_the_shift_installation_folder>/shift/thirdparty/python/Lib/site-packages")
from shift.tools import mshift
mshift.show()
¶Python Interpreter Setup
In Shift it is possible to launch the execution of a workflow via an application's Python interpreter with the WorkflowProcess node. To achieve this for Maya, set the path to its Python interpreter the following environment variable:
SHIFT_PROCESS_MAYA : path to Maya’s Python interpreter (mayapy)
¶Catalogs
Shift provides some catalogs with operators specific to work within Maya. Most of these nodes are found in the CreativeSoftware catalog. Additionally, Shift also comes with a specific USD catalog for MayaUSD.