<br>Hi..<br><br>I had also faced the similar problem, but not with colors.. I wanted the point values to be changed. Changing colors is easy i guess.<br><br><pre>m_Grid->GetCellData()->GetScalars()->SetTuple(m_nCellId, hilight); <br><br><br></pre>This should work for you.. Put it in a loop and vary the cellID for whichever cells u want to change.. Any other better way friends..??<br><br>Thanks<br><br>Regards<br>Rakesh Patil<br><blockquote><br>---------- Original message ----------<br>From:"Martin Allerstorfer"< allerstorfer_martin@gmx.at ><br>Date: 11 Mar 10 13:00:35<br>Subject: Re: [vtkusers] update polydata<br>To: vtkusers@vtk.org<br><br>Hi,<br><br>Nobody with similar problems. I would like to change transparency values of polygons interactivly. Any ideas?<br><br>Thanks,<br>Martin<br><br>>Hi,<br>><br>>Does anybody know how I can update the polydata after changing color values of some polygons? I know there are the Update and Modified functions whic
h I tried on polydata, the color array, the celldata, etc. But it does not change anything.<br>><br>>Thanks for your help,<br>>Martin<br><br>-- <br>Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -<br>jetzt kostenlos herunterladen! <a target=\"_blank\" href="http://portal.gmx.net/de/go/atbrowser" target="_blank">http://portal.gmx.net/de/go/atbrowser</a><br>_______________________________________________<br>Powered by <a target=\"_blank\" href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a target=\"_blank\" 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 VTK FAQ at: <a target=\"_blank\" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br>http://www.vtk.org/mailman/
listinfo/vtkusers<br></blockquote>