# How to load PLY files based on POINT CLODE

**URL:** <https://discourse.vtk.org/t/how-to-load-ply-files-based-on-point-clode/10686>\
**Category:** Development\
**Created:** [February 15, 2023, 6:23am UTC](https://discourse.vtk.org/t/how-to-load-ply-files-based-on-point-clode/10686 "2023-02-15T06:23:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JYM](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@JYM](https://discourse.vtk.org/u/JYM)\
**Post date:** [February 15, 2023, 6:23am UTC](https://discourse.vtk.org/t/how-to-load-ply-files-based-on-point-clode/10686/1 "2023-02-15T06:23:18Z")

</div>

Hello

I am trying to load the fly file from VTK 9.0.

The language is using c++.

Mesh-based data is loaded, but the point cloud ply file is not loaded.

Can I have an example code?

[DATA FILE](https://fainstec365-my.sharepoint.com/:u:/g/personal/ymjo_fainstec_com/Ee1Wj4f-bp1ClsoqWHVbD3ABpIghfhJDUH6usT4Xdh7LbQ?e=wnfIYo)

---

<div class="post-metadata">

**Author:** ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Post date:** [February 15, 2023, 6:53am UTC](https://discourse.vtk.org/t/how-to-load-ply-files-based-on-point-clode/10686/2 "2023-02-15T06:53:20Z")

</div>

Here is an example:  
[https://gitlab.kitware.com/vtk/vtk/-/blob/v9.2.0/IO/PLY/Testing/Cxx/TestPLYReader.cxx](https://gitlab.kitware.com/vtk/vtk/-/blob/v9.2.0/IO/PLY/Testing/Cxx/TestPLYReader.cxx)
