

@classmethod
def nodeInitializer(cls):
    eAttr = OM.MFnEnumAttribute()
    cls.rotateOrder = eAttr.create(cls.kRotateOrderAttrLongName, cls.kRotateOrderAttrName, 0)
    eAttr.addField('xyz', 0)
    eAttr.addField('yzx', 1)
    eAttr.addField('zxy', 2)
    eAttr.addField('xzy', 3)
    eAttr.addField('yxz', 4)
    eAttr.addField('zyx', 5)
    eAttr.setWritable(1)
    eAttr.setStorable(1)
    eAttr.setReadable(1)
    eAttr.setKeyable(0)
    eAttr.setHidden(1)
    nAttr = OM.MFnNumericAttribute()
    cls.raisedAngleOffset = nAttr.create(cls.kRaisedAngleAttrLongName, cls.kRaisedAngleAttrName, OM.MFnNumericData.kDouble, 45.0)
    nAttr.setWritable(1)
    nAttr.setStorable(1)
    nAttr.setReadable(1)
    nAttr.setKeyable(1)
    cls.shoulderAim = nAttr.create(cls.kShoulderAimAttrLongName, cls.kShoulderAimAttrName, OM.MFnNumericData.k3Double)
    nAttr.setWritable(1)
    mAttr.setStorable(1)
    nAttr.setReadable(1)
    nAttr.setKeyable(0)
    cls.shoulderFront = nAttr.create(cls.kShoulderFrontAttrLongName, cls.kShoulderFrontAttrName, OM.MFnNumericData.k3Double)
    nAttr.setWritable(1)
    nAttr.setStorable(1)
    nAttr.setReadable(1)
    nAttr.setKeyable(0)
    cls.spineAim = nAttr.create(cls.kSpineAimAttrLongName, cls.kSpineAimAttrName, OM.MFnNumericData.k3Double)
    nAttr.setWritable(1)
    nAttr.setStorable(1)
    nAttr.setReadable(1)
    nAttr.setKeyable(0)
    cls.spineFront = nAttr.create(cls.kSpineFrontAttrLongName, cls.kSpineFrontAttrName, OM.MFnNumericData.k3Double)
    nAttr.setWritable(1)
    nAttr.setStorable(1)
    nAttr.setReadable(1)
    nAttr.setKeyable(0)
    cls.shoulderPivot = nAttr.create(cls.kShoulderRotatePivotAttrLongName, cls.kShoulderRotatePivotAttrName, OM.MFnNumericData.k3Double)
    nAttr.setWritable(1)
    nAttr.setStorable(1)
    nAttr.setReadable(1)
    nAttr.setKeyable(0)
    nAttr.setHidden(1)
    cls.spinePivot = nAttr.create(cls.kSpineRotatePivotAttrLongName, cls.kSpineRotatePivotAttrName, OM.MFnNumericData.k3Double)
    nAttr.setWritable(1)
    nAttr.setStorable(1)
    nAttr.setReadable(1)
    nAttr.setKeyable(0)
    nAttr.setHidden(1)
    cls.jointOrient = nAttr.create(cls.kJointOrientAttrLongName, cls.kJointOrientAttrName, OM.MFnNumericData.k3Double)
    nAttr.setWritable(1)
    nAttr.setStorable(1)
    nAttr.setReadable(1)
    nAttr.setKeyable(0)
    nAttr.setHidden(1)
    mAttr = OM.MFnMatrixAttribute()
    cls.spine = mAttr.create(cls.kSpineObjectAttrLongName, cls.kSpineObjectAttrName, OM.MFnMatrixAttribute.kDouble)
    mAttr.setWritable(1)
    mAttr.setStorable(1)
    mAttr.setReadable(1)
    mAttr.setKeyable(0)
    mAttr.setHidden(1)
    cls.shoulder = mAttr.create(cls.kShoulderObjectAttrLongName, cls.kShoulderObjectAttrName, OM.MFnMatrixAttribute.kDouble)
    mAttr.setWritable(1)
    mAttr.setStorable(1)
    mAttr.setReadable(1)
    mAttr.setKeyable(0)
    mAttr.setHidden(1)
    cls.parentInverseMatrix = mAttr.create(cls.kParentInvMatrixAttrLongName, cls.kParentInvMatrixAttrName, OM.MFnMatrixAttribute.kDouble)
    mAttr.setWritable(1)
    mAttr.setStorable(1)
    mAttr.setReadable(1)
    mAttr.setKeyable(0)
    mAttr.setHidden(1)
    nAttr = OM.MFnNumericAttribute()
    cls.rotate = nAttr.create(cls.kRotateAttrLongName, cls.kRotateAttrName, OM.MFnNumericData.k3Double)
    nAttr.setWritable(1)
    nAttr.setStorable(0)
    nAttr.setReadable(1)
    cls.angle = nAttr.create(cls.kElevationAngleAttrLongName, cls.kElevationAngleAttrName, OM.MFnNumericData.kDouble)
    nAttr.setWritable(1)
    nAttr.setStorable(0)
    nAttr.setReadable(1)
    cls.addAttribute(cls.rotateOrder)
    cls.addAttribute(cls.raisedAngleOffset)
    cls.addAttribute(cls.shoulderAim)
    cls.addAttribute(cls.shoulderFront)
    cls.addAttribute(cls.spineAim)
    cls.addAttribute(cls.spineFront)
    cls.addAttribute(cls.shoulderPivot)
    cls.addAttribute(cls.spinePivot)
    cls.addAttribute(cls.jointOrient)
    cls.addAttribute(cls.spine)
    cls.addAttribute(cls.shoulder)
    cls.addAttribute(cls.parentInverseMatrix)
    cls.addAttribute(cls.rotate)
    cls.addAttribute(cls.angle)
    cls.attributeAffects(cls.rotateOrder, cls.rotate)
    cls.attributeAffects(cls.raisedAngleOffset, cls.rotate)
    cls.attributeAffects(cls.shoulderAim, cls.rotate)
    cls.attributeAffects(cls.shoulderFront, cls.rotate)
    cls.attributeAffects(cls.spineAim, cls.rotate)
    cls.attributeAffects(cls.spineFront, cls.rotate)
    cls.attributeAffects(cls.shoulderPivot, cls.rotate)
    cls.attributeAffects(cls.spinePivot, cls.rotate)
    cls.attributeAffects(cls.jointOrient, cls.rotate)
    cls.attributeAffects(cls.spine, cls.rotate)
    cls.attributeAffects(cls.shoulder, cls.rotate)
    cls.attributeAffects(cls.parentInverseMatrix, cls.rotate)
    cls.attributeAffects(cls.rotateOrder, cls.angle)
    cls.attributeAffects(cls.raisedAngleOffset, cls.angle)
    cls.attributeAffects(cls.shoulderAim, cls.angle)
    cls.attributeAffects(cls.shoulderFront, cls.angle)
    cls.attributeAffects(cls.spineAim, cls.angle)
    cls.attributeAffects(cls.spineFront, cls.angle)
    cls.attributeAffects(cls.shoulderPivot, cls.angle)
    cls.attributeAffects(cls.spinePivot, cls.angle)
    cls.attributeAffects(cls.jointOrient, cls.angle)
    cls.attributeAffects(cls.spine, cls.angle)
    cls.attributeAffects(cls.shoulder, cls.angle)
    cls.attributeAffects(cls.parentInverseMatrix, cls.angle)

dataset/ETHPy150Open CountZer0/PipelineConstructionSet/maya/plugins/2014/win64/AM_ShoulderConstraint.py AM_ShoulderConstraintNode.nodeInitializer/VarMisuse@220/346 `nAttr`->`mAttr`