# How to get a vector for each point at curve

**URL:** <https://forum.dynamobim.com/t/how-to-get-a-vector-for-each-point-at-curve/66824>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [August 4, 2021, 9:58pm UTC](https://forum.dynamobim.com/t/how-to-get-a-vector-for-each-point-at-curve/66824 "2021-08-04T21:58:32Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![dylim](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dylim/32/121211_2.png) [@dylim](https://forum.dynamobim.com/u/dylim)\
**Post date:** [August 6, 2021, 12:30am UTC](https://forum.dynamobim.com/t/how-to-get-a-vector-for-each-point-at-curve/66824/10 "2021-08-06T00:30:19Z")

</div>

I personally don’t like rebuilding geometry because it makes incorrect information sometimes.  
In this case, You need to sort out the normal vectors by crossing with tangent vector.  
See the image below.

 ![backup_2021-08-06_08-30-44](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/a/9af334d9908de86b23b50952727a9ab13ccde678.png)

before sorting

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

after sorting

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/7/f79a3271aa3d11bacd0e0cf835208d57f0e338f0.png)

if you change the number in the blue circle to -1. you could get opposite direction normal.

---

_[View the full topic](https://forum.dynamobim.com/t/how-to-get-a-vector-for-each-point-at-curve/66824)._
