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

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

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_Ribbon.py   PipelineConstructionSet(Download)
            # up-vector for the ribbon at its base
            dataHandle = OM.MDataHandle(dataBlock.inputValue(AM_RibbonsNode.inputUpVector))
            upVector = OM.MVector(dataHandle.asVector())
            upVector.normalize()
            if upVector.length() == 0:

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_ExposeTransform.py   PipelineConstructionSet(Download)
            # axis on the object for computing dot product and angle
            dataHandle = OM.MDataHandle(dataBlock.inputValue(AM_ExposeTransformNode.objectAxis))
            vObjectAxis = OM.MVector(dataHandle.asVector())
            if bNormalizeInputAxes:
                vObjectAxis.normalize()
            # axis on the reference object for computing dot product and angle
            dataHandle = OM.MDataHandle(dataBlock.inputValue(AM_ExposeTransformNode.referenceAxis))
            vReferenceAxis = OM.MVector(dataHandle.asVector())