I'm using a python wrapper of fnMesh.allIntersections, which uses a
number of other wrappers including MFloatPointArray() -- when I try to
get the contents of the array I only get a pointer to the array's
wrapper (I think):

<maya.OpenMaya.MFloatPointArray; proxy of <Swig Object of type
'MFloatPointArray *' at 0x23fed220> >

I don't know enough about the API to use MFloatPointArray.get(), I get
errors like:

# NotImplementedError: Wrong number of arguments for overloaded
function 'MFloatPointArray_get'.
#   Possible C/C++ prototypes are:
#     get(float [][4])
#     get(double [][4])

Is there an easy way to get these kinds of values with pymel, or to
work with these wrappers in general, besides learning C++? The Maya
API docs all seem to assume I already know it.

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to