# vtkProperty missing GetAllTextures() on Python

**URL:** https://discourse.vtk.org/t/vtkproperty-missing-getalltextures-on-python/7692
**Category:** Support
**Created:** [January 20, 2022, 3:32pm UTC](https://discourse.vtk.org/t/vtkproperty-missing-getalltextures-on-python/7692 "2022-01-20T15:32:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![xtecox](https://discourse.vtk.org/user_avatar/discourse.vtk.org/xtecox/32/4567_2.png) [@xtecox](https://discourse.vtk.org/u/xtecox)
#### Post date: [January 20, 2022, 3:32pm UTC](https://discourse.vtk.org/t/vtkproperty-missing-getalltextures-on-python/7692/1 "2022-01-20T15:32:44Z")

</div>

Hi, im still trying to access the vtktexture of an actor loaded by the gltfimporter, I tried accessing it on the actor.GetProperty().GetAllTextures() but the property doesn’t have this function, was it ported to python?

---

<div class="post-metadata">

### Author: ![dgobbi](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dgobbi/32/18_2.png) [@dgobbi](https://discourse.vtk.org/u/dgobbi)
#### Post date: [January 20, 2022, 4:17pm UTC](https://discourse.vtk.org/t/vtkproperty-missing-getalltextures-on-python/7692/2 "2022-01-20T16:17:11Z")

</div>

The method uses `std::map`, and the Python wrappers don’t currently have a rule for translating `std::map` into an equivalent Python object.

```auto
std::map<std::string, vtkTexture*>& GetAllTextures();

```

At least you can get textures by name:

```auto
vtkTexture* GetTexture(const char* name);

```

I can add a new method that returns a list of names, but that wouldn’t be available via pypi until VTK 9.2. Until then you’d need to use some other method of keeping track of the texture names.
