def executeDeferred(func, *args, **kwargs):
    import maya.utils
    import maya.OpenMaya
    if maya.OpenMaya.MGlobal.mayaState() == maya.OpenMaya.MGlobal.kInteractive:
        maya.utils.executeDeferred(func, *args, **kwargs)
    else:
        if isinstance(func, basestring):
            if args or kwargs:
                raise ValueError('if passing a string to be executed, no additional args may be passed')
            exec func
        else:
            func(*args, **kwargs)
Member section view for card
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/pymel/mayautils.py/executeDeferred--crossover with--dataset/ETHPy150Open Net-ng/kansha/kansha/board/view.py/render_Board_members