# Is there a way to index VTK Actors

**URL:** https://discourse.vtk.org/t/is-there-a-way-to-index-vtk-actors/8183
**Category:** Support
**Created:** [March 31, 2022, 4:03am UTC](https://discourse.vtk.org/t/is-there-a-way-to-index-vtk-actors/8183 "2022-03-31T04:03:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Jishnu](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jishnu/32/6221_2.png) [@Jishnu](https://discourse.vtk.org/u/Jishnu)
#### Post date: [March 31, 2022, 4:03am UTC](https://discourse.vtk.org/t/is-there-a-way-to-index-vtk-actors/8183/1 "2022-03-31T04:03:00Z")

</div>

I am developing a simple GUI where users can import multiple stl files and view them and interact with them in real-time. I am using QT (PySide6/PyQt) (TreeView model) for showing the list of stl files imported. Now I stumbled upon a problem, how to link the QT items (in the treeview) and vtkActors in the renderer. I am thinking about using vtkActorCollection, but if there is a way to index vtkActors, then I can directly link them to the QT items.
