how are you looping through to get and set the intersection points?

are you using MPointArray().append(MPoint(x, y, z))

and when getting the value are you looping through the array and getting
each element?

example code:

import maya.OpenMaya as OpenMaya

pointArray = OpenMaya.MPointArray()
for i in range(25):
    pointArray.append(OpenMaya.MPoint(i, i, i))

for i in range(pointArray.length()):
    print pointArray[i].x, pointArray[i].y, pointArray[i].z

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

Reply via email to