@classmethod
    def enable_subdiv(cls):
        #
        # Set SubDiv to CatClark on Selected nodes
        #
        for node in pm.ls(sl=1):
            shape = node.getShape()
            try:
                shape.aiSubdivIterations.set(2)
                shape.aiSubdivType.set(1)
                shape.aiSubdivPixelError.set(0)
            except AttributeError:
                pass
Find the Enum with the given value.
dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/toolbox.py/Render.enable_subdiv--crossover with--dataset/ETHPy150Open kdart/pycopia/aid/pycopia/aid.py/Enums.find