[Paraview] [EXT] Re: Stupid question on Programmable Source

Dennis Conklin dennis_conklin at goodyear.com
Fri Oct 23 07:47:38 EDT 2015


Utkarsh,

I probably should have mentioned that I am making an unstructured grid, not a multiblockdataset.

I get

vtkCommonDataModelPython.vtkUnstructuredGrid object has no attribute 'CellData'

Dennis

-----Original Message-----
From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] 
Sent: Thursday, October 22, 2015 5:15 PM
To: Dennis Conklin <dennis_conklin at goodyear.com>
Cc: Paraview (paraview at paraview.org) <paraview at paraview.org>
Subject: [EXT] Re: [Paraview] Stupid question on Programmable Source

Dennis,

> Would it be more efficient make this a Programmable Filter instead (with no
> input?) so that I can use the CellData.append?

You should be able to do the following just fine in a Programmable Source too:

     output.CellData.append(....)

Utkarsh


More information about the ParaView mailing list