for i in range(block.GetNumberOfCells()

>        sigma = numpy.array([ [xx[i],xy[i],xz[i]],
>                             [xy[i],yy[i],yz[i]],
>                             [xz[i],yz[i],zz[i]]
>                          ])
>
>
Missing a ":" here maybe?

Try some print debugging to see what is really happening.

Also, I recommend using an external editor and copy/pasting the code in or
execfile("yourfile.py")'ing to develop for the programmable filter. It's
QtTextWidget is a tad deficient as an IDE. :)

If not the ":" let us know and we can look further.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to