# Is the command "Th(x,y,z).region" available for surface meshes?

**URL:** <https://community.freefem.org/t/is-the-command-th-x-y-z-region-available-for-surface-meshes/306>\
**Category:** General Discussion\
**Created:** [March 20, 2020, 9:01am UTC](https://community.freefem.org/t/is-the-command-th-x-y-z-region-available-for-surface-meshes/306 "2020-03-20T09:01:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Remi](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@Remi](https://community.freefem.org/u/Remi)\
**Post date:** [March 20, 2020, 9:01am UTC](https://community.freefem.org/t/is-the-command-th-x-y-z-region-available-for-surface-meshes/306/1 "2020-03-20T09:01:41Z")

</div>

Hi.  
I have a surface mesh, generated with GMSH, on which I have defined different regions/physical surfaces. What I would like to do is to get a point’s region’s tag. I tried Th(x,y,z).region and Th(x,y,z).label but both don’t seem to be working for meshS.  
Is there an alternative, or a different syntax that I don’t know of ?  
Thank you.

---

<div class="post-metadata">

**Author:** ![AFourmont](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/afourmont/32/56_2.png) [@AFourmont](https://community.freefem.org/u/AFourmont)\
**Post date:** [March 21, 2020, 3:06pm UTC](https://community.freefem.org/t/is-the-command-th-x-y-z-region-available-for-surface-meshes/306/2 "2020-03-21T15:06:59Z")

</div>

Dear user,  
the command Th(x,y,z).region has just been added on the branch develop.  
Let me know if your problem is solved.

---

<div class="post-metadata">

**Author:** ![Remi](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@Remi](https://community.freefem.org/u/Remi)\
**Post date:** [March 25, 2020, 2:42pm UTC](https://community.freefem.org/t/is-the-command-th-x-y-z-region-available-for-surface-meshes/306/3 "2020-03-25T14:42:48Z")

</div>

Thank you for your quick response.  
I haven’t been able to run my code so far. I have tried compiling the source code from the branch develop myself, and might have done something wrong.  
The command make check returned a failed test on “NSNewton.edp” and I don’t know if I should assume I installed FreeFem wrong or not?  
The test-suite.log file doesn’t provide any information on the issue.
