# \#iterate

**URL:** https://forums.sketchup.com/tag/iterate/1519.md

[Latest](https://forums.sketchup.com/latest.md) · [Categories](https://forums.sketchup.com/categories.md) · [Tags](https://forums.sketchup.com/tags.md)

---

## [Extension example: Count material area](https://forums.sketchup.com/t/extension-example-count-material-area/56332)

<div class="topic-metadata">

**Author:** [@eneroth3](https://forums.sketchup.com/u/eneroth3)\
**Replies:** 5\
**Last updated:** [November 29, 2017, 4:34pm UTC](https://forums.sketchup.com/t/extension-example-count-material-area/56332 "2017-11-29T16:34:18Z")

</div>

I’ve just published a small Ruby Extension that counts the area of each material in the model. This is already a feature in SketchUp natively so it might not be the most useful extension. However, it serves as an exampl…
