# How do I count the amount of layouts in a dwg?

**URL:** <https://forum.dynamobim.com/t/how-do-i-count-the-amount-of-layouts-in-a-dwg/77494>\
**Category:** Civil 3D\
**Tags:** python, dynamo\
**Created:** [June 9, 2022, 10:03pm UTC](https://forum.dynamobim.com/t/how-do-i-count-the-amount-of-layouts-in-a-dwg/77494 "2022-06-09T22:03:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![WrightEngineering](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/wrightengineering/32/115676_2.png) [@WrightEngineering](https://forum.dynamobim.com/u/WrightEngineering)\
**Post date:** [June 13, 2022, 10:06pm UTC](https://forum.dynamobim.com/t/how-do-i-count-the-amount-of-layouts-in-a-dwg/77494/4 "2022-06-13T22:06:11Z")

</div>

Use the layout manager object in python. You can see this used in the python script i wrote here. [Sheet Set - Replace specific block on each sheet with a new block - #12 by WrightEngineering](https://forum.dynamobim.com/t/sheet-set-replace-specific-block-on-each-sheet-with-a-new-block/77333/12)

---

_[View the full topic](https://forum.dynamobim.com/t/how-do-i-count-the-amount-of-layouts-in-a-dwg/77494)._
