# Moving the intersection points of straight line segments

**URL:** <https://forum.dynamobim.com/t/moving-the-intersection-points-of-straight-line-segments/114451>\
**Category:** Civil 3D\
**Created:** [April 21, 2026, 6:12am UTC](https://forum.dynamobim.com/t/moving-the-intersection-points-of-straight-line-segments/114451 "2026-04-21T06:12:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![durasovartyom](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/durasovartyom/32/79195_2.png) [@durasovartyom](https://forum.dynamobim.com/u/durasovartyom)\
**Post date:** [April 21, 2026, 6:12am UTC](https://forum.dynamobim.com/t/moving-the-intersection-points-of-straight-line-segments/114451/1 "2026-04-21T06:12:12Z")

</div>

Good day!

Is it possible to move the alignment intersection points via Dynamo or C# .NET?  
How can this be done?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/8/48f8f26649324f9c524e70399e8d2d9346c99ab3.png)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/5/855e2ed58c0ab45bdac9c93e2e75db02e6eb3db2.jpeg)

---

<div class="post-metadata">

**Author:** ![durasovartyom](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/durasovartyom/32/79195_2.png) [@durasovartyom](https://forum.dynamobim.com/u/durasovartyom)\
**Post date:** [May 19, 2026, 10:38am UTC](https://forum.dynamobim.com/t/moving-the-intersection-points-of-straight-line-segments/114451/2 "2026-05-19T10:38:19Z")

</div>

Thanks, expert with forum Autodesk Community

[Solved: Re: How Moving the intersection points of straight line segments - Autodesk Community](https://forums.autodesk.com/t5/civil-3d-customization-forum/how-moving-the-intersection-points-of-straight-line-segments/m-p/14132304#M27569)

```auto
      _AccDb.Alignment alignment = null; // TODO
      foreach (var ent in alignment.Entities)
      {
        if (ent.EntityType == _AccDb.AlignmentEntityType.Line)
        {
          var lineEnt = (_AccDb.AlignmentLine)ent;
          //lineEnt.PassThroughPoint1 = myPt;
          //lineEnt.PassThroughPoint2 = myPt;
        }
        else if (ent.EntityType == _AccDb.AlignmentEntityType.Arc)
        {
          var arcEnt = (_AccDb.AlignmentArc)ent;
          //arcEnt.PassThroughPoint1;
          //arcEnt.PassThroughPoint2;
          //arcEnt.PassThroughPoint3;

        }
        else if // check other types

      }

```
