Here's a snippet:
reader = ...
di = reader.GetDataInformation()
numDatasets = di.GetNumberOfDataSets()
for i in range(numDatasets):
blockDI = di.GetCompositeDataInformation().GetDataInformation(i)
print i, "Num Points", blockDI.GetNumberOfPoints()
print i, "Num Cells",
I’ve done some neat stuff with pvpython but I’m stuck on something really
basic. I’ve read a structured multi block dataset(plot3d). Where do I find
the number of blocks and the size of each block. I’ve been using help and
dir() but I haven’t found that info.
Thanks
Tim