# How to get the boundaries of a model

**URL:** <https://discourse.slicer.org/t/how-to-get-the-boundaries-of-a-model/14173>\
**Category:** Support\
**Created:** [October 20, 2020, 9:08pm UTC](https://discourse.slicer.org/t/how-to-get-the-boundaries-of-a-model/14173 "2020-10-20T21:08:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jj31](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@jj31](https://discourse.slicer.org/u/jj31)\
**Post date:** [October 20, 2020, 9:08pm UTC](https://discourse.slicer.org/t/how-to-get-the-boundaries-of-a-model/14173/1 "2020-10-20T21:08:23Z")

</div>

Similar to “GetMesh().GetCenter()” to get the XYZ center coordinates of a model, how can I get the frontmost XYZ coordinate of the model?

Thanks,  
JJ

---

<div class="post-metadata">

**Author:** ![jj31](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@jj31](https://discourse.slicer.org/u/jj31)\
**Post date:** [October 21, 2020, 12:18am UTC](https://discourse.slicer.org/t/how-to-get-the-boundaries-of-a-model/14173/2 "2020-10-21T00:18:59Z")

</div>

Found it. Should be GetBounds()
