@classmethod
    def enable_subdiv(cls):
        """enables subdiv on selected objects
        """
        #
        # 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 __HOLE__:
                pass
dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/toolbox.py/Render.enable_subdiv