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). Therefore if your corridor frequency is set to target points you schould be alright…?
Sorry for the spaghetti in the script, getting parallel sets of list and such just requires a lot of nodes.
StationsChange.dyn (45.7 KB)