Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_ShoulderConstraint.py   PipelineConstructionSet(Download)
        mAttr = OM.MFnMatrixAttribute()
        cls.spine = mAttr.create(cls.kSpineObjectAttrLongName, cls.kSpineObjectAttrName, OM.MFnMatrixAttribute.kDouble)
        mAttr.setWritable(1)
        mAttr.setStorable(1)
        mAttr.setReadable(1)
        cls.shoulder = mAttr.create(cls.kShoulderObjectAttrLongName, cls.kShoulderObjectAttrName,
                                    OM.MFnMatrixAttribute.kDouble)
        mAttr.setWritable(1)
        mAttr.setStorable(1)
        mAttr.setReadable(1)
        cls.parentInverseMatrix = mAttr.create(cls.kParentInvMatrixAttrLongName, cls.kParentInvMatrixAttrName,
                                               OM.MFnMatrixAttribute.kDouble)
        mAttr.setWritable(1)
        mAttr.setStorable(1)
        mAttr.setReadable(1)

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_HipConstraint.py   PipelineConstructionSet(Download)
        cls.pelvis = mAttr.create(cls.kPelvisObjectAttrLongName, cls.kPelvisObjectAttrName,
                                  OM.MFnMatrixAttribute.kDouble)
        mAttr.setWritable(1)
        mAttr.setStorable(1)
        mAttr.setReadable(1)
        mAttr.setKeyable(0)
        mAttr.setHidden(1)
        # worldMatrix of the hip joint
        cls.hip = mAttr.create(cls.kHipObjectAttrLongName, cls.kHipObjectAttrName, OM.MFnMatrixAttribute.kDouble)
        mAttr.setWritable(1)
        cls.parentInverseMatrix = mAttr.create(cls.kParentInvMatrixAttrLongName, cls.kParentInvMatrixAttrName,
                                               OM.MFnMatrixAttribute.kDouble)
        mAttr.setWritable(1)
        mAttr.setStorable(1)
        mAttr.setReadable(1)

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_ExposeTransform.py   PipelineConstructionSet(Download)
        cls.objectMatrix = mAttr.create(cls.kObjectMatrixAttrLongName, cls.kObjectMatrixAttrName,
                                        OM.MFnMatrixAttribute.kDouble)
        mAttr.setWritable(True)
        mAttr.setStorable(True)
        mAttr.setReadable(True)
        cls.referenceMatrix = mAttr.create(cls.kReferenceMatrixAttrLongName, cls.kReferenceMatrixAttrName,
                                           OM.MFnMatrixAttribute.kDouble)
        mAttr.setWritable(True)
        mAttr.setStorable(True)
        mAttr.setReadable(True)