# Add boundary to corridor surface

**URL:** <https://forum.dynamobim.com/t/add-boundary-to-corridor-surface/58964>\
**Category:** Civil 3D\
**Tags:** python, dynamo\
**Created:** [January 5, 2021, 5:24pm UTC](https://forum.dynamobim.com/t/add-boundary-to-corridor-surface/58964 "2021-01-05T17:24:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Drbohlav](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/drbohlav/32/113004_2.png) [@Drbohlav](https://forum.dynamobim.com/u/Drbohlav)\
**Post date:** [January 5, 2021, 5:24pm UTC](https://forum.dynamobim.com/t/add-boundary-to-corridor-surface/58964/1 "2021-01-05T17:24:14Z")

</div>

Hello, I can create surfaces from corridor using Python. Is there any solution how to add surface boundary based on subassembly point codes?

---

<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:** [January 5, 2021, 5:34pm UTC](https://forum.dynamobim.com/t/add-boundary-to-corridor-surface/58964/2 "2021-01-05T17:34:36Z")

</div>

@Drbohlav check out the CorridorSurfaceBoundaryCollection class in the API. There is an overloaded Add method with an option to add a boundary by name and feature line code.

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/9/d991217420ec1b9b30c5847916473cc6ba08193f.jpeg)

---

<div class="post-metadata">

**Author:** ![Drbohlav](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/drbohlav/32/113004_2.png) [@Drbohlav](https://forum.dynamobim.com/u/Drbohlav)\
**Post date:** [January 6, 2021, 10:20pm UTC](https://forum.dynamobim.com/t/add-boundary-to-corridor-surface/58964/3 "2021-01-06T22:20:01Z")

</div>

Here is solution. Thank you @zachri.jensen for hint here. ![corridorSurfaceBoundary](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/d/6d81c7ff9f0e055d3159849c7b26df1c48f0c1fc.jpeg)

---

<div class="post-metadata">

**Author:** ![davila.vanegas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/davila.vanegas/32/96555_2.png) [@davila.vanegas](https://forum.dynamobim.com/u/davila.vanegas)\
**Post date:** [February 14, 2022, 8:47pm UTC](https://forum.dynamobim.com/t/add-boundary-to-corridor-surface/58964/4 "2022-02-14T20:47:44Z")

</div>

Hi @Drbohlav,

Which is the result if I have more than two Fl with same Name.

Can we define diferent FL pe regions?

I gonna make My try ir I get something I let You Know.

---

<div class="post-metadata">

**Author:** ![FieldRunner](https://avatars.discourse-cdn.com/v4/letter/f/ecb155/32.png) [@FieldRunner](https://forum.dynamobim.com/u/FieldRunner)\
**Post date:** [August 30, 2022, 10:54pm UTC](https://forum.dynamobim.com/t/add-boundary-to-corridor-surface/58964/5 "2022-08-30T22:54:29Z")

</div>

Hi~

If one corridor and one boundary (polyline) are given

Is it possible for me to add a boundary to the corridor??

If possible, please provide the python code

---

<div class="post-metadata">

**Author:** ![FieldRunner](https://avatars.discourse-cdn.com/v4/letter/f/ecb155/32.png) [@FieldRunner](https://forum.dynamobim.com/u/FieldRunner)\
**Post date:** [August 30, 2022, 11:05pm UTC](https://forum.dynamobim.com/t/add-boundary-to-corridor-surface/58964/6 "2022-08-30T23:05:08Z")

</div>

If one corridor and one boundary (polyline) are given

Is it possible for me to add a boundary to the corridor??

If possible, please provide the python code…
