# How to create a Resource from a file I loaded with a custom ParaView reader?

**URL:** https://discourse.kitware.com/t/how-to-create-a-resource-from-a-file-i-loaded-with-a-custom-paraview-reader/1645
**Category:** Simulation Modeling Toolkit (SMTK)
**Created:** [November 14, 2025, 9:23am UTC](https://discourse.kitware.com/t/how-to-create-a-resource-from-a-file-i-loaded-with-a-custom-paraview-reader/1645 "2025-11-14T09:23:16Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![CsatiZoltan](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/c/76d3ee/32.png) [@CsatiZoltan](https://discourse.kitware.com/u/CsatiZoltan)
#### Post date: [November 24, 2025, 2:36pm UTC](https://discourse.kitware.com/t/how-to-create-a-resource-from-a-file-i-loaded-with-a-custom-paraview-reader/1645/8 "2025-11-24T14:36:52Z")

</div>

> [@dcthomp](#):
>
> You would need to modify the Import operation of SMTK’s VTK session (or other resource types, such as the markup resource) to use your VTK reader and create SMTK components for each piece of geometry you want to be its own object.

I am getting closer to it, as shown in [How to import a .vtu file programmatically? - #2 by CsatiZoltan](https://discourse.kitware.com/t/how-to-import-a-vtu-file-programmatically/1650/2)  
Is there a way to extend (subclassing or other way) `smtk::markup::Import` (the VTK session cannot import a .vtu file, as I noted in my other post) instead of modifying the source code (that way, I would have to be up-to-date with the SMTK git repo)?

---

_[View the full topic](https://discourse.kitware.com/t/how-to-create-a-resource-from-a-file-i-loaded-with-a-custom-paraview-reader/1645)._
