Hi,<br><br>I confirm the problem: even with your script, CELL_DATA are not enabled. <br>They don't appear in the "Color by" combo box, but the cell Ids are present<br>in the Information panel. It works as expected when I try with POINT_DATA.<br>
<br>I just had a doubt: Qt has been updated to 4.6 recently on my computer, and<br>I don't know if my ParaView is up-to-date according to this...<br><br>Let's update, compile, wait and see.<br><br>Jerome<br><br><div class="gmail_quote">
2010/2/28 Favre Jean <span dir="ltr"><<a href="mailto:jfavre@cscs.ch">jfavre@cscs.ch</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
Hi,<br>
I noted this problem a few days ago.<br>
A *really* simple example:<br>
- Add a SphereSource<br>
- Connect to a "Generate Ids" filter<br>
- Update: The information panel shows a 'Ids' array for points and for cells, but<br>
the "Color by" doesn't give the choice of cell array.<br>
<br>
Jerome<br>
</div>-----------------<br>
<br>
I cannot reproduce the problem. The following code works exactly as expected and enables the coloring by POINT_DATA or CELL_DATA<br>
<br>
sph1 = Sphere()<br>
genid1 = GenerateIds(Input=sph1)<br>
rep1 = Show(genid1)<br>
rep1.ColorArrayName = 'Ids'<br>
rep1.ColorAttributeType = 'CELL_DATA'<br>
<br>
----------------<br>
Jean M. Favre<br>
Swiss National Supercomputing Center<br>
<div><div></div><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br>