# vtu file coloring

**URL:** https://discourse.vtk.org/t/vtu-file-coloring/9392
**Category:** Support
**Tags:** proposal
**Created:** [September 19, 2022, 6:27am UTC](https://discourse.vtk.org/t/vtu-file-coloring/9392 "2022-09-19T06:27:27Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![graysuit](https://discourse.vtk.org/user_avatar/discourse.vtk.org/graysuit/32/5107_2.png) [@graysuit](https://discourse.vtk.org/u/graysuit)
#### Post date: [September 20, 2022, 11:01am UTC](https://discourse.vtk.org/t/vtu-file-coloring/9392/3 "2022-09-20T11:01:41Z")

</div>

Duplicate, but in another language:

> [@Can't color a XML Unstructured Grid (\*.vtu)](https://discourse.vtk.org/t/cant-color-a-xml-unstructured-grid-vtu/8660):
>
> Hi I have code, which can color \*.vtp, \*.vtk. But same code fails to color \*.vtu. I have list of vtkactors. And I specify which actor to set properties from. This code which gets all column names from actor index: public static List\<string\> getColumns(int actorIndex) { List\<string\> colums = new List\<string\>(); vtkActor actor = actors[actorIndex]; var output = actor.GetMapper().GetInputAsDataSet(); var cell = output.GetCellData()…

---

_[View the full topic](https://discourse.vtk.org/t/vtu-file-coloring/9392)._
