[vtkusers] How to use GetTupleValue(i, array) in python?
lynx.abraxas at freenet.de
lynx.abraxas at freenet.de
Fri Dec 18 21:51:42 EST 2009
On 18/12/09 21:07:03, lynx.abraxas at freenet.de wrote:
> for i in range(0, PointNormalArray.GetNumberOfTuples()):
> PointNormalArray.GetTupleValue(i, pointNormal) #make sure pointNormal is big enough!
>
> And I get the python error "AttributeError: GetTupleValue".
> So I wonder how do I have to this in python?
With David D.'s advice I found GetTuple3(i) which works fine. Is that the correct function to use here?
Thanks
Lynx
More information about the vtkusers
mailing list