# How to select a face or a line or a point by id?

**URL:** <https://forum.techsoft3d.com/t/how-to-select-a-face-or-a-line-or-a-point-by-id/4969>\
**Category:** HOOPS Visualize Web\
**Created:** [October 17, 2025, 6:03am UTC](https://forum.techsoft3d.com/t/how-to-select-a-face-or-a-line-or-a-point-by-id/4969 "2025-10-17T06:03:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![38422985](https://avatars.discourse-cdn.com/v4/letter/3/34f0e0/32.png) [@38422985](https://forum.techsoft3d.com/u/38422985)\
**Post date:** [October 17, 2025, 6:03am UTC](https://forum.techsoft3d.com/t/how-to-select-a-face-or-a-line-or-a-point-by-id/4969/1 "2025-10-17T06:03:56Z")

</div>

Hello Teacher  
I recorded some special faces index. Now i want to show or hide or hightlilght a face by its id, is it possible? How can i do it?

 ![企业微信截图_17606809775031](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/9/9a816cf32ef7626e2ddf6176e9c3f08a5e3cf6ef.png)

---

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [October 17, 2025, 11:10am UTC](https://forum.techsoft3d.com/t/how-to-select-a-face-or-a-line-or-a-point-by-id/4969/2 "2025-10-17T11:10:55Z")

</div>

Hello,

For a given face index on a mesh, you can set its visibility using the function [setNodeFaceVisibility](https://docs.techsoft3d.com/hoops/visualize-web/api_ref/viewing/classes/Model.html#Model.setNodeFaceVisibility).

---

<div class="post-metadata">

**Author:** ![38422985](https://avatars.discourse-cdn.com/v4/letter/3/34f0e0/32.png) [@38422985](https://forum.techsoft3d.com/u/38422985)\
**Post date:** [October 17, 2025, 1:08pm UTC](https://forum.techsoft3d.com/t/how-to-select-a-face-or-a-line-or-a-point-by-id/4969/3 "2025-10-17T13:08:17Z")

</div>

Thanks Tino！

I didn’t check the API myself; I only heard from others that there is no such function.  
Thank you very much again！

Best regards
