# CIVIL 3D - rotate group of points perpendicular to polyline/alignment

**URL:** <https://forum.dynamobim.com/t/civil-3d-rotate-group-of-points-perpendicular-to-polyline-alignment/81369>\
**Category:** Civil 3D\
**Created:** [September 22, 2022, 3:54pm UTC](https://forum.dynamobim.com/t/civil-3d-rotate-group-of-points-perpendicular-to-polyline-alignment/81369 "2022-09-22T15:54:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![karol\_urb](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@karol\_urb](https://forum.dynamobim.com/u/karol_urb)\
**Post date:** [September 22, 2022, 3:54pm UTC](https://forum.dynamobim.com/t/civil-3d-rotate-group-of-points-perpendicular-to-polyline-alignment/81369/1 "2022-09-22T15:54:14Z")

</div>

Hello,

I am trying to make script, that will be rotating points perpendicular to polyline, but i have a problem:

(1)

I don’t know why the list (Curve.ParameterAtPoint) contains only 1 element. The chosen polyline is this one and it contains 4 points:

(2)

How to rotate all of them ?

1 more question: How to do similar script, but with alignment instead of polyline ? I tried something like this:

(3)

but alignment isn’t the object. How to avoid this kind of problem ?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/2/b23c9bf78306c452c79b07ef5d256ca992ce6e04.png)

Thanks for help.

---

<div class="post-metadata">

**Author:** ![gilberto.arechigaiba](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gilberto.arechigaiba/32/204980_2.png) [@gilberto.arechigaiba](https://forum.dynamobim.com/u/gilberto.arechigaiba)\
**Post date:** [September 26, 2022, 11:44am UTC](https://forum.dynamobim.com/t/civil-3d-rotate-group-of-points-perpendicular-to-polyline-alignment/81369/2 "2022-09-26T11:44:28Z")

</div>

Hola amiga @karol_urb como estas? Welcome, if you are working in C3D there are 3 very interesting packages that you should download to help you in your work, Civil3DToolkit, Camber and Arkance Systems, here is an image that may help you and a link to a similar problem, try to search for topics similar to your problem, usually there is already a solution or you find more efficient alternatives to your workflow. 😉

 ![Cogo Points from offset](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/0/30b666e05b9c8c7004e39cd199b1c90e1b21b52d.jpeg)

> [@Create perpendicular line to an alignment](https://forum.dynamobim.com/t/create-perpendicular-line-to-an-alignment/81360):
>
> Hi. I have a list of stations and distances to the right and left, as shown in the image. [image] I’m trying to create perperdicular lines to an alignment in those stations and with the distances to the right and left. What can I do? I manage to the alignment info but can’t work the geometry nodes to create the lines. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [September 26, 2022, 12:18pm UTC](https://forum.dynamobim.com/t/civil-3d-rotate-group-of-points-perpendicular-to-polyline-alignment/81369/3 "2022-09-26T12:18:34Z")

</div>

HI  
attach example drawing  
better to help from the members

---

<div class="post-metadata">

**Author:** ![karol\_urb](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@karol\_urb](https://forum.dynamobim.com/u/karol_urb)\
**Post date:** [September 28, 2022, 8:34pm UTC](https://forum.dynamobim.com/t/civil-3d-rotate-group-of-points-perpendicular-to-polyline-alignment/81369/4 "2022-09-28T20:34:00Z")

</div>

[example.dwg](https://forum.dynamobim.com/uploads/short-url/nqVwR50ceZ5MPNiXUMgs02Dc3D9.dwg) (948.8 KB)  
[RotatePointPerpendicularToAlignment.dyn](https://forum.dynamobim.com/uploads/short-url/2RDMh5cCYg4MVRcRLQVVOGipdI3.dyn) (24.2 KB)

Here is example drawing 🙂

---

<div class="post-metadata">

**Author:** ![gilberto.arechigaiba](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gilberto.arechigaiba/32/204980_2.png) [@gilberto.arechigaiba](https://forum.dynamobim.com/u/gilberto.arechigaiba)\
**Post date:** [September 29, 2022, 1:22pm UTC](https://forum.dynamobim.com/t/civil-3d-rotate-group-of-points-perpendicular-to-polyline-alignment/81369/5 "2022-09-29T13:22:28Z")

</div>

Amiga @karol_urb buenas, I see what your problem is, I will try to express myself correctly if you generate points in dynamo the internal properties of that point come with default properties that is to say without any rotation, while if you ask for a Curve. CoordinateSystematsegmentLength along a curve this node access to the internal properties of the point on the curve, and I think that’s what you are looking for I leave you an example, if you want to start working with alignments and C3D own objects I advise you to download 3 packages Civil3DToolkit, Camber and Arkance Systems, the creators participate in the forums and there are many post about how to use their nodes and what they are used for!

 ![Poinst vs Coordinate Systems](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/2/42c3b4f463119ea05c8cede26de721e53969752d.png)  
[Points vs CoordinateSystems.dyn](https://forum.dynamobim.com/uploads/short-url/zHvNTsU4TuYjOBiYP9FiUY0C4BC.dyn) (18.1 KB)
