Hi, 

We had a programmable filter that started out like:

from paraview import vtk

input = self.GetInputDataObject(0, 0)
output = self.GetOutputDataObject(0)
ngls = 2

if input.IsA("vtkMultiBlockDataSet"):
    nblk = input.GetNumberOfBlocks()
    print "nblk = ", nblk
    for n in range(nblk):
        blk = input.GetBlock(n)
        if blk is not None:
            i1, i2, j1, j2, k1, k2 = blk.GetExtent()

which worked in 3.12. But trying it with the 3.14 build, the GetExtent() 
doesn't exist anymore. What do I do to replace it? I can't seem to find the 
corresponding function.

Tim
_______________________________________________
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://www.paraview.org/mailman/listinfo/paraview

Reply via email to