# How to rotate the Box Manhole in Civil 3D to be Parallel with the Road alignment by using Dynamo

**URL:** <https://forum.dynamobim.com/t/how-to-rotate-the-box-manhole-in-civil-3d-to-be-parallel-with-the-road-alignment-by-using-dynamo/114517>\
**Category:** Civil 3D\
**Tags:** python, geometry, dynamo, civil3d\
**Created:** [April 30, 2026, 7:39am UTC](https://forum.dynamobim.com/t/how-to-rotate-the-box-manhole-in-civil-3d-to-be-parallel-with-the-road-alignment-by-using-dynamo/114517 "2026-04-30T07:39:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mabdelwahedHMVM8](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mabdelwahedhmvm8/32/163968_2.png) [@mabdelwahedHMVM8](https://forum.dynamobim.com/u/mabdelwahedHMVM8)\
**Post date:** [April 30, 2026, 7:39am UTC](https://forum.dynamobim.com/t/how-to-rotate-the-box-manhole-in-civil-3d-to-be-parallel-with-the-road-alignment-by-using-dynamo/114517/1 "2026-04-30T07:39:08Z")

</div>

Hi  
If anyone can help me to create Dynamo code to rotate the Box Manhole in Civil 3D to be Parallel with the Road alignment (Attached file for reference)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/5/6522727411e07962395f071eaacdd8fabcf4e722.png)

[Test-Drawing1.dwg](https://forum.dynamobim.com/uploads/short-url/n0LCoHbuhaS3fSYuEVmWf5n5QVn.dwg) (1.0 MB)

---

<div class="post-metadata">

**Author:** ![Brendan\_Cassidy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/brendan_cassidy/32/7685_2.png) [@Brendan\_Cassidy](https://forum.dynamobim.com/u/Brendan_Cassidy)\
**Post date:** [April 30, 2026, 9:26am UTC](https://forum.dynamobim.com/t/how-to-rotate-the-box-manhole-in-civil-3d-to-be-parallel-with-the-road-alignment-by-using-dynamo/114517/2 "2026-04-30T09:26:02Z")

</div>

What have you tried so far? I would probably compare the vectors of each object and get the angle difference between then rotate the manhole by this rotation.

---

<div class="post-metadata">

**Author:** ![zachri.jensen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/zachri.jensen/32/205331_2.png) [@zachri.jensen](https://forum.dynamobim.com/u/zachri.jensen)\
**Post date:** [April 30, 2026, 2:50pm UTC](https://forum.dynamobim.com/t/how-to-rotate-the-box-manhole-in-civil-3d-to-be-parallel-with-the-road-alignment-by-using-dynamo/114517/3 "2026-04-30T14:50:19Z")

</div>

FYI, this sample that is provided with Dynamo Player in Civil 3D might already do what you’re looking for.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/1/61b1e7160e07a1aa0f869b9239a1a4b7e858c8f5.png)
