mgear.core.utils

Utilitie functions

Functions

as_pynode(obj) Check and convert a given string to Pynode
gatherCustomModuleDirectories(envvarkey, …) returns component directory
getModuleBasePath(directories, moduleName) search component path
importFromStandardOrCustomDirectories(…) Return imported module
is_odd(num) Check if the number is odd.
one_undo(func) Decorator - guarantee close chunk.
timeFunc(func) Use as a property to time any desired function
viewport_off(func) Decorator - Turn off Maya display while func is running.