# Set Structure Size/Name By Largest Pipe Diameter

**URL:** <https://forum.dynamobim.com/t/set-structure-size-name-by-largest-pipe-diameter/69773>\
**Category:** Civil 3D\
**Created:** [October 28, 2021, 7:45pm UTC](https://forum.dynamobim.com/t/set-structure-size-name-by-largest-pipe-diameter/69773 "2021-10-28T19:45:59Z")\
**Posts on this page:** 2\
**Page:** 1

<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:** [October 28, 2021, 7:45pm UTC](https://forum.dynamobim.com/t/set-structure-size-name-by-largest-pipe-diameter/69773/1 "2021-10-28T19:45:59Z")

</div>

Continuing the discussion from [Generative Design Applications for Civil Workflows](https://forum.dynamobim.com/t/generative-design-applications-for-civil-workflows/56104/8):

> [@Generative Design Applications for Civil Workflows](https://forum.dynamobim.com/t/generative-design-applications-for-civil-workflows/56104/8):
>
> I would like to see an iteration of a pipe network where Dynamo would set structure size/name based on largest pipe diameter. We have structure types (names) that are based on the largest pipe entering or leaving the structure. So a Type “A”, “B” or “C” would be acceptable for all pipe less than 27" diameter (or width for elliptical) and then a Type “D” would allow for a 27" to 36" diameter and so on. Currently there are lettered types from A to M and each type would have a different structure classification (Types A - D can be Concentric or Eccentric Cylinder and all others are either two section round or box/cylindrical combinations).

---

<div class="post-metadata">

**Author:** ![KirkWM](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kirkwm/32/104406_2.png) [@KirkWM](https://forum.dynamobim.com/u/KirkWM)\
**Post date:** [October 28, 2021, 9:27pm UTC](https://forum.dynamobim.com/t/set-structure-size-name-by-largest-pipe-diameter/69773/2 "2021-10-28T21:27:19Z")

</div>

Yeah, I’d agree this is doable but the tricky part is calling the name/size of the structure you want from the part catalog will be specific to each company. Another approach would be to check the angle between pipes to check the clear manhole wall space is greater than minimum between pipes and let that choose the appropriate manhole size.
