MPlug.getValue(MMatrix, MDGContext) does not appear to exist as an overload, so I think that error is valid: http://help.autodesk.com/view/MAYAUL/2019/ENU/?guid=Maya_SDK_MERGED_cpp_ref_class_m_plug_members_html
Usage examples suggestion one would use getValue(MObject) to get the MMatrix, and then operate on it using MFnMatrixData: http://help.autodesk.com/view/MAYAUL/2019/ENU/?guid=Maya_SDK_MERGED_cpp_ref_cv_color_node_2cv_color_node_8cpp_example_html On Fri, Jan 10, 2020 at 2:52 PM Todd Widup <[email protected]> wrote: > MDGContext timeOff(time - 1.0); > MPlug inPrev(myNode, aInValue); > MMatrix inputPrev; > inPrev.getValue(inputPrev, timeOff); > > I am doing this just fine on a float or double, but for some reason VS is > saying there is no overload function for MPlug getValue that matches that > input > > any suggestions or ideas? > > -- > Todd Widup > Creature TD / Technical Artist > [email protected] > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CABBPk36DFx7QZcAv0iX77EkZ2bOKHTopsAxmLFnXMaS6fGW4cQ%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CABBPk36DFx7QZcAv0iX77EkZ2bOKHTopsAxmLFnXMaS6fGW4cQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3mqv%2Bq7uF%2BHnzmurBcB10THhTsQDuyO%3DtVLsb7Z%2B7ugQ%40mail.gmail.com.
