# extract material names from ObjImporter

**URL:** https://discourse.vtk.org/t/extract-material-names-from-objimporter/10104
**Category:** Support
**Created:** [December 7, 2022, 1:41pm UTC](https://discourse.vtk.org/t/extract-material-names-from-objimporter/10104 "2022-12-07T13:41:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![anirudh\_puligandla](https://discourse.vtk.org/user_avatar/discourse.vtk.org/anirudh_puligandla/32/5055_2.png) [@anirudh\_puligandla](https://discourse.vtk.org/u/anirudh_puligandla)
#### Post date: [December 7, 2022, 1:41pm UTC](https://discourse.vtk.org/t/extract-material-names-from-objimporter/10104/1 "2022-12-07T13:41:34Z")

</div>

Hi,

I want to extract material names from an imported model using vtkOBJImporter. I am following the example at [https://kitware.github.io/vtk-examples/site/Cxx/IO/OBJImporter/](https://kitware.github.io/vtk-examples/site/Cxx/IO/OBJImporter/) . How can I get a list of material names (preferably, corresponding to each actor)?
