Using the Maya SDK Python API v1, you have to use MScriptUtil to be able to pass pointers into functions: http://download.autodesk.com/global/docs/mayasdk2012/en_us/index.html?url=cpp_ref/class_m_script_util.html,topicNumber=cpp_ref_class_m_script_util_html
In Maya SDK Python API V2, they make it more pythonic where it returns the value instead of using output parameters: http://docs.autodesk.com/MAYAUL/2014/ENU/Maya-API-Documentation/index.html?url=python-api/MFnMesh.html,topicNumber=python_api_MFnMesh_html9fe11b33-f164-4268-a8ba-20d485bdca71 On Wed, Jan 15, 2014 at 2:38 PM, AS <[email protected]> wrote: > Hello all, > > I'm trying to use MfnMesh.getEdgeVertices(int, int2& vertexList) > > However, I have no idea how to create a variable of type int2 in python. > > Any ideas? > > Thanks, > > -- > 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/581c8752-c661-4b38-8455-d13ca8da902a%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/CAPGFgA1VjZFPoTVKvRzLH7Z9vStudawHjTRUWPX26D3ZbAHZPg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
