# Alignment modification using dynamo

**URL:** <https://forum.dynamobim.com/t/alignment-modification-using-dynamo/109585>\
**Category:** Civil 3D\
**Tags:** python, geometry, dynamo, civil3d\
**Created:** [April 19, 2025, 10:02am UTC](https://forum.dynamobim.com/t/alignment-modification-using-dynamo/109585 "2025-04-19T10:02:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ritesh.trivedi885J6](https://avatars.discourse-cdn.com/v4/letter/r/87869e/32.png) [@ritesh.trivedi885J6](https://forum.dynamobim.com/u/ritesh.trivedi885J6)\
**Post date:** [April 19, 2025, 10:02am UTC](https://forum.dynamobim.com/t/alignment-modification-using-dynamo/109585/1 "2025-04-19T10:02:02Z")

</div>

Hi,

I have one alignment in civil 3d which contains tangents and curves of type (spiral-curve-spiral). I need to modify the curve details such radius or transition lengths etc. in a way that it fulfills certain criteria for my alignment.  
The criteria are like:

1. I have some another as built alignment line following parapet or boundary of my viaduct.
2. I have some another alignment following shear connectors of my viaduct whose distance should always be in the range of 0.980m to 1.9m from the main alignment.
3. If i want to specify some points like center of pier and then their distances from the modified alignment then this should also be in a particular range.
4. Another criteria is regarding rate of change of cant, applied gradient etc which will be mathematical calculations.

The thing is i need to know is that  
Can we intelligently modify the curve parameters like radius and spiral lengths based on such criterias in dynamo? If yes, what’s the way to start?
