# How to get metrics displayed in EditView from a layer?

**URL:** <https://forum.glyphsapp.com/t/how-to-get-metrics-displayed-in-editview-from-a-layer/30201>\
**Category:** Scripting\
**Created:** [May 27, 2024, 4:02pm UTC](https://forum.glyphsapp.com/t/how-to-get-metrics-displayed-in-editview-from-a-layer/30201 "2024-05-27T16:02:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HugoJ](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/hugoj/32/30341_2.png) [@HugoJ](https://forum.glyphsapp.com/u/HugoJ)\
**Post date:** [May 27, 2024, 4:02pm UTC](https://forum.glyphsapp.com/t/how-to-get-metrics-displayed-in-editview-from-a-layer/30201/1 "2024-05-27T16:02:28Z")

</div>

There is method to return list of metric displayed for a GSGlyph ?  
For example for Glyph `A` something that return : Descender, CapHeight and Baseline ?

 ![Screenshot 2024-05-27 at 18.01.20](https://forum.glyphsapp.com/uploads/default/original/3X/a/5/a562dc1b5d0327cd0ab72f98fcd73e4c281c6db7.jpeg)

I would like to check nodes close to alignment zones, but all zones, only theses displayed in my glyph.

---

<div class="post-metadata">

**Author:** ![GeorgSeifert](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/georgseifert/32/259_2.png) [@GeorgSeifert](https://forum.glyphsapp.com/u/GeorgSeifert)\
**Post date:** [May 27, 2024, 5:43pm UTC](https://forum.glyphsapp.com/t/how-to-get-metrics-displayed-in-editview-from-a-layer/30201/2 "2024-05-27T17:43:53Z")

</div>

```auto
print(layer.metrics)

```
