# Split Corridor Region at an increment of 20m

**URL:** <https://forum.dynamobim.com/t/split-corridor-region-at-an-increment-of-20m/86153>\
**Category:** Civil 3D\
**Tags:** excel, dynamo\
**Created:** [February 15, 2023, 5:44am UTC](https://forum.dynamobim.com/t/split-corridor-region-at-an-increment-of-20m/86153 "2023-02-15T05:44:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![htariq.bece17nice](https://avatars.discourse-cdn.com/v4/letter/h/6de8d8/32.png) [@htariq.bece17nice](https://forum.dynamobim.com/u/htariq.bece17nice)\
**Post date:** [February 15, 2023, 5:44am UTC](https://forum.dynamobim.com/t/split-corridor-region-at-an-increment-of-20m/86153/1 "2023-02-15T05:44:05Z")

</div>

Hi ,  
I have a very long corridor of about 32 kms. I want to split in into multiple regions at an increment of 20m so that it can be prepared for 4D planning. I’m new to dynamo and unable to figure it out. Has anyone tried this before?

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [February 15, 2023, 11:19am UTC](https://forum.dynamobim.com/t/split-corridor-region-at-an-increment-of-20m/86153/2 "2023-02-15T11:19:19Z")

</div>

HI  
SEE THIS

> [@Split region](https://forum.dynamobim.com/t/split-region/83757/5):
>
> How about the following approach: Determine the slopedirection for the daylight link on every station Look at previous station and on change add station to list Split corridor by list of stations I added a script for getting the stations to clarify the suggested solution. Small detail: A change usually does nog occur exactly at a current station in your baseline. However same goes for the section in your corridor since the section in always at a baselinestation (I may stand corrected on this…

> [@Split corridor baseline in multiple regions](https://forum.dynamobim.com/t/split-corridor-baseline-in-multiple-regions/67789/6):
>
> Try this, pass a list of stations in reversed order.

---

<div class="post-metadata">

**Author:** ![htariq.bece17nice](https://avatars.discourse-cdn.com/v4/letter/h/6de8d8/32.png) [@htariq.bece17nice](https://forum.dynamobim.com/u/htariq.bece17nice)\
**Post date:** [February 16, 2023, 10:59am UTC](https://forum.dynamobim.com/t/split-corridor-region-at-an-increment-of-20m/86153/3 "2023-02-16T10:59:21Z")

</div>

Hi,  
Thanks for replying. I am trying this workflow but it is taking a lot of time, more than two hours for a 6 km corridor. So I ended up closing it. It can be done faster manually if its taking too long. And My system have 64 gb of ram. So I dont think system is the problem.

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [February 16, 2023, 11:56am UTC](https://forum.dynamobim.com/t/split-corridor-region-at-an-increment-of-20m/86153/4 "2023-02-16T11:56:36Z")

</div>

Maybe  
Use app c# for this
