@staticmethod
    def jpHideAndLockIK(node, keyPX=1, keyPY=1, keyPZ=1, keyO=1, keyR=1, keyT=1, keyB=1, lockPX=1, lockPY=1,
                        lockPZ=1, lockO=1, lockR=1, lockT=1, lockB=1, all=2):  #@ReservedAssignment
        """
        SYNOPSIS
         Locks and hides attributes

             1 = Hide or Lock
             0 = Show or Unlock

             Default for all is ON (Hide and Lock)

             example:
             jpHideAndLockIK('ikHandle',keyT=1,all=0)
             Hides and Locks twist only
             jpHideAndLock('ikHandle',keyR=0)
             Hides and Locks all except roll is still keyable


        INPUTS	*=optional
         (string) node:	The node to work on
         (bool)* keyPX: 1 = Hide poleVectorX
         (bool)* keyPY: 1 = Hide poleVectorY
         (bool)* keyPZ: 1 = Hide poleVectorZ
         (bool)* keyO: 1 = Hide offset
         (bool)* keyR: 1 = Hide roll
         (bool)* keyT: 1 = Hide twist
         (bool)* keyB: 1 = Hide ikBlend
         (bool)* keyPX: 1 = Hide poleVectorX
         (bool)* keyPY: 1 = Hide poleVectorY
         (bool)* keyPZ: 1 = Hide poleVectorZ
         (bool)* keyO: 1 = Hide offset
         (bool)* keyR: 1 = Hide roll
         (bool)* keyT: 1 = Hide twist
         (bool)* keyB: 1 = Hide ikBlend
         (int)* all: 0 = show and unlock all attrs
                      1 = hide and lock all attrs

        RETURNS: nothing
        """
        if all == 1:
            keyPX, keyPY, keyPZ, keyO, keyR, keyT, keyB, lockPX, lockPY, lockPZ, lockO, lockR, lockT, lockB = [1, 1, 1,
                                                                                                               1, 1, 1,
                                                                                                               1, 1, 1,
                                                                                                               1, 1, 1,
                                                                                                               1, 1]
        elif all == 0:
            keyPX, keyPY, keyPZ, keyO, keyR, keyT, keyB, lockPX, lockPY, lockPZ, lockO, lockR, lockT, lockB = [0, 0, 0,
                                                                                                               0, 0, 0,
                                                                                                               0, 0, 0,
                                                                                                               0, 0, 0,
                                                                                                               0, 0]
        node = PyNode(node)
        node.poleVectorX.setKeyable(keyPX - 1)
        node.poleVectorY.setKeyable(keyPY - 1)
        node.poleVectorZ.setKeyable(keyPZ - 1)
        node.offset.setKeyable(keyO - 1)
        node.roll.setKeyable(keyR - 1)
        node.twist.setKeyable(keyT - 1)
        node.ikBlend.setKeyable(1 - keyB)
        node.poleVectorX.setLocked(lockPX)
        node.poleVectorY.setLocked(lockPY)
        node.poleVectorZ.setLocked(lockPZ)
        node.offset.setLocked(lockO)
        node.roll.setLocked(lockR)
        node.twist.setLocked(lockT)
        node.ikBlend.setLocked(lockB)
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/core/mayaCore.py/MayaVisibilityCore.jpHideAndLockIK/swapped operands of `-`