# Get Y value based on X from Curve

**URL:** <https://forum.dynamobim.com/t/get-y-value-based-on-x-from-curve/90061>\
**Category:** Revit\
**Created:** [May 26, 2023, 12:39pm UTC](https://forum.dynamobim.com/t/get-y-value-based-on-x-from-curve/90061 "2023-05-26T12:39:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kvusal](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@kvusal](https://forum.dynamobim.com/u/kvusal)\
**Post date:** [May 26, 2023, 12:39pm UTC](https://forum.dynamobim.com/t/get-y-value-based-on-x-from-curve/90061/1 "2023-05-26T12:39:48Z")

</div>

Dear Experts,  
do you have any information how get Y value based on X value from curve?  
i.e. (see photo):  
Input: X=3.5  
Curve

output Y= 2.xxx

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

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [May 26, 2023, 1:20pm UTC](https://forum.dynamobim.com/t/get-y-value-based-on-x-from-curve/90061/2 "2023-05-26T13:20:42Z")

</div>

Without knowing the formula for the curve or how it was created, the quick and dirty way would be to just create vertical lines at the X value and intersect with the curve for the point.
