paya.cmds#

The contents of this module can be directly accessed via the paya.runtime interface. This includes:

  • The entire pymel.core namespace

  • Name

  • createMatrix() / cm

  • Chain

  • controlShapes, an instance of ControlShapesLibrary

Any module-level variables or functions added here will also become available via paya.runtime.

Warning

When customising this module, take care not to shadow factory commands from pymel.core. Doing so may break code that accesses such commands via paya.runtime.

saveScriptEditor()#

Convenience wrapper for MEL’s syncExecuterBackupFiles().

findMelProc(procName)#

Convenience wrapper for MEL’s whatIs. Returns just a path to a MEL file. If on Windows, the path will be back-slashed for easy copy-paste into an editor.

Parameters

procName – the MEL proc to locate

Raises

RuntimeError – not a MEL procedure

Returns

the path to the MEL file, in OS format

Return type

str