[Paraview] How to detect element type inside Programmable Filter

David E DeMarle dave.demarle at kitware.com
Thu Aug 13 22:42:39 EDT 2015


On Thu, Aug 13, 2015 at 10:07 PM, Dennis Conklin <
dennis_conklin at goodyear.com> wrote:

> I may be dense but I'm persistent!


I am more persistent (and more dense). :)


def process_block(block):

  #print dir(block)

  #print dir(block.VTKObject)

  print block.VTKObject.GetClassName()

for block in output:

  process_block(block)



David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150813/98db0a7f/attachment.html>


More information about the ParaView mailing list