# Can I get cell Ids by cell type and points

**URL:** https://discourse.vtk.org/t/can-i-get-cell-ids-by-cell-type-and-points/6980
**Category:** Support
**Created:** [October 27, 2021, 7:45am UTC](https://discourse.vtk.org/t/can-i-get-cell-ids-by-cell-type-and-points/6980 "2021-10-27T07:45:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![huaweiping](https://discourse.vtk.org/user_avatar/discourse.vtk.org/huaweiping/32/8231_2.png) [@huaweiping](https://discourse.vtk.org/u/huaweiping)
#### Post date: [October 27, 2021, 7:45am UTC](https://discourse.vtk.org/t/can-i-get-cell-ids-by-cell-type-and-points/6980/1 "2021-10-27T07:45:03Z")

</div>

Hi,

I have a dataset with 500_500_50 points and related point data. I have done some operation and extract a closed but irregular structure with points. However, I want to visualize the isosurface of the structure so I need the cells.

I know the cell type is HEXAHEDRON and currently our program just reads every points in the structure, get neighbor cells and related points. This would give us errors as well as repeated and unnecessary computation. Is there a way that I could get those information easier?

Thanks
