# Create layouts according to quantity of the blocks and zoom in point of insertion blocks

**URL:** <https://forum.dynamobim.com/t/create-layouts-according-to-quantity-of-the-blocks-and-zoom-in-point-of-insertion-blocks/79039>\
**Category:** Civil 3D\
**Created:** [July 25, 2022, 10:34am UTC](https://forum.dynamobim.com/t/create-layouts-according-to-quantity-of-the-blocks-and-zoom-in-point-of-insertion-blocks/79039 "2022-07-25T10:34:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dr.hybride](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@dr.hybride](https://forum.dynamobim.com/u/dr.hybride)\
**Post date:** [July 25, 2022, 10:34am UTC](https://forum.dynamobim.com/t/create-layouts-according-to-quantity-of-the-blocks-and-zoom-in-point-of-insertion-blocks/79039/1 "2022-07-25T10:34:28Z")

</div>

hello guys

i 'm looking for the way to create layouts according to quantity of the blocks and zoom the viewport in the point of insertion (cs).  
see picture for more precision

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/e/de310dd7a61698fac520cd08992e18dd1a29ca94.png)

thanks a lot

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [July 25, 2022, 12:36pm UTC](https://forum.dynamobim.com/t/create-layouts-according-to-quantity-of-the-blocks-and-zoom-in-point-of-insertion-blocks/79039/2 "2022-07-25T12:36:17Z")

</div>

You can create layouts with the Camber package, but I don’t have anything in there for creating viewports. I think the Civil 3D Toolkit and Arkance Systems do.

---

<div class="post-metadata">

**Author:** ![dr.hybride](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@dr.hybride](https://forum.dynamobim.com/u/dr.hybride)\
**Post date:** [July 25, 2022, 12:52pm UTC](https://forum.dynamobim.com/t/create-layouts-according-to-quantity-of-the-blocks-and-zoom-in-point-of-insertion-blocks/79039/3 "2022-07-25T12:52:47Z")

</div>

thank for your quick reply  
yes i saw with the camber package and i tried but i cant create several layouts juste one

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/0/606a25717153af1da2893894f1d10be179fff21a.png)

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [July 25, 2022, 12:58pm UTC](https://forum.dynamobim.com/t/create-layouts-according-to-quantity-of-the-blocks-and-zoom-in-point-of-insertion-blocks/79039/4 "2022-07-25T12:58:36Z")

</div>

What is the warning?

---

<div class="post-metadata">

**Author:** ![dr.hybride](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@dr.hybride](https://forum.dynamobim.com/u/dr.hybride)\
**Post date:** [July 25, 2022, 1:03pm UTC](https://forum.dynamobim.com/t/create-layouts-according-to-quantity-of-the-blocks-and-zoom-in-point-of-insertion-blocks/79039/5 "2022-07-25T13:03:20Z")

</div>

“layout name is nul or empty”  
with one it’s works but with several it doesn’t

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/a/7a3f900b173a2ed09f92fd974fb311f93deb1d98.png)

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [July 25, 2022, 1:16pm UTC](https://forum.dynamobim.com/t/create-layouts-according-to-quantity-of-the-blocks-and-zoom-in-point-of-insertion-blocks/79039/6 "2022-07-25T13:16:31Z")

</div>

I believe the output from the code block should be the second line, not the first. There is an extra L; that you have for the first line, which is not a valid string.

---

<div class="post-metadata">

**Author:** ![dr.hybride](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@dr.hybride](https://forum.dynamobim.com/u/dr.hybride)\
**Post date:** [July 25, 2022, 1:21pm UTC](https://forum.dynamobim.com/t/create-layouts-according-to-quantity-of-the-blocks-and-zoom-in-point-of-insertion-blocks/79039/7 "2022-07-25T13:21:37Z")

</div>

you are the best

thank you

---

<div class="post-metadata">

**Author:** ![dgregory](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dgregory/32/142067_2.png) [@dgregory](https://forum.dynamobim.com/u/dgregory)\
**Post date:** [September 27, 2023, 1:21am UTC](https://forum.dynamobim.com/t/create-layouts-according-to-quantity-of-the-blocks-and-zoom-in-point-of-insertion-blocks/79039/8 "2023-09-27T01:21:15Z")

</div>

Did you figure this out @dr.hybride? If so, can you share your finished script?

---

<div class="post-metadata">

**Author:** ![dr.hybride](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@dr.hybride](https://forum.dynamobim.com/u/dr.hybride)\
**Post date:** [October 3, 2023, 1:00pm UTC](https://forum.dynamobim.com/t/create-layouts-according-to-quantity-of-the-blocks-and-zoom-in-point-of-insertion-blocks/79039/9 "2023-10-03T13:00:30Z")

</div>

sorry for the late,

no i changed the solution, i am using this. it’s free for 30 days 🙂

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/7/d77a0a0bbb8445ba1bced66bb30d02e8d65f576c.png)
