[Paraview] How to color by Cell Data
Favre Jean
jfavre at cscs.ch
Sun Feb 28 06:28:06 EST 2010
Hi,
I noted this problem a few days ago.
A *really* simple example:
- Add a SphereSource
- Connect to a "Generate Ids" filter
- Update: The information panel shows a 'Ids' array for points and for cells, but
the "Color by" doesn't give the choice of cell array.
Jerome
-----------------
I cannot reproduce the problem. The following code works exactly as expected and enables the coloring by POINT_DATA or CELL_DATA
sph1 = Sphere()
genid1 = GenerateIds(Input=sph1)
rep1 = Show(genid1)
rep1.ColorArrayName = 'Ids'
rep1.ColorAttributeType = 'CELL_DATA'
----------------
Jean M. Favre
Swiss National Supercomputing Center
More information about the ParaView
mailing list