Add corridor section in Dynamo

Is there a similar command “_AeccAddCorrSection” in dynamo?

1 Like

Not out of the box. You would need to write a node or use Python. Here is the API method.


I am new to python. An example of similar code?

The attached should get you started. You will need to rebuild the corridor after running this for the stations to appear. You could add that to the script too, if you wanted. I’m also pretty new to python, but this seems to work.

AddCrdrStations.dyn (11.2 KB)

1 Like

Good day!
Warning ?

Cor.dwg (2.5 MB)

Sorry about that. Had an extra space in there. Try this one.
AddCrdrStations.dyn (11.2 KB)


Does the AdditionalStations Method add sections along the entire corridor, and not just to one region?

That gives you a list of stations that were added to the region.

it turns out to add sections for several regions, do you need to iterate over them in turn?

I think there are a few ways to do this. You could use the OOTB nodes to get each regions’ station limits and use that to determine which region the new stations fall. Then group the stations together by region and feed into the provided python node.

to delete section data later, can I use ClearAdditionalStations?