# Can VTK.jl load and save vtk and pvd files?

**URL:** <https://discourse.julialang.org/t/can-vtk-jl-load-and-save-vtk-and-pvd-files/3901>\
**Category:** Visualization\
**Created:** [May 24, 2017, 8:58am UTC](https://discourse.julialang.org/t/can-vtk-jl-load-and-save-vtk-and-pvd-files/3901 "2017-05-24T08:58:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamed82008](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mohamed82008/32/18171_2.png) [@mohamed82008](https://discourse.julialang.org/u/mohamed82008)\
**Post date:** [May 24, 2017, 8:58am UTC](https://discourse.julialang.org/t/can-vtk-jl-load-and-save-vtk-and-pvd-files/3901/1 "2017-05-24T08:58:16Z")

</div>

I am trying to figure out the mesh importing and exporting capabilities of Julia. I came across VTK.jl but but it was hardly documented, so I wonder, is it possible to use VTK.jl to load and save vtk or pvd file formats?

Thank you.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [May 24, 2017, 9:05am UTC](https://discourse.julialang.org/t/can-vtk-jl-load-and-save-vtk-and-pvd-files/3901/2 "2017-05-24T09:05:48Z")

</div>

This?

[https://github.com/timholy/VTK.jl](https://github.com/timholy/VTK.jl)

That’s a proof of concept that hasn’t been updated in 4 years. Don’t expect it to work.

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [May 24, 2017, 9:09am UTC](https://discourse.julialang.org/t/can-vtk-jl-load-and-save-vtk-and-pvd-files/3901/3 "2017-05-24T09:09:55Z")

</div>

I would recommend [WriteVTK.jl](https://github.com/jipolanco/WriteVTK.jl).

---

<div class="post-metadata">

**Author:** ![mohamed82008](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mohamed82008/32/18171_2.png) [@mohamed82008](https://discourse.julialang.org/u/mohamed82008)\
**Post date:** [May 24, 2017, 9:15am UTC](https://discourse.julialang.org/t/can-vtk-jl-load-and-save-vtk-and-pvd-files/3901/4 "2017-05-24T09:15:41Z")

</div>

Yes, but WriteVTK.jl does not load files, it only writes them. I am trying to avoid using Paraview and PyCall.jl to load the data in vtk and pvd files to objects of the types defined in GeometryTypes.jl, or my own version of these types.

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [May 24, 2017, 9:31am UTC](https://discourse.julialang.org/t/can-vtk-jl-load-and-save-vtk-and-pvd-files/3901/5 "2017-05-24T09:31:14Z")

</div>

No, I don’t think there exist a working VTK reader written in Julia.
