paya.patch#
Internal. Defines methods used by paya.runtime
to manage PyMEL
patching.
- patchPyMEL(quiet=False)#
Patches PyMEL so that it will return custom paya classes instead of its own. Called by
start()
.Warning
Should not be called directly. Use
paya.runtime
as a context manager instead.- Parameters
quiet (bool) – don’t print status messages; defaults to False
- unpatchPyMEL(quiet=False)#
Reverts PyMEL to its ‘factory’ state. Called by
stop()
.Warning
Should not be called directly. Use
paya.runtime
as a context manager instead.- Parameters
quiet (bool) – don’t print status messages; defaults to False