# SunSettings Altitude Units

**URL:** <https://forum.dynamobim.com/t/sunsettings-altitude-units/70917>\
**Category:** Revit\
**Tags:** revit, ladybug, dynamo, solaranalysis\
**Created:** [November 30, 2021, 8:11pm UTC](https://forum.dynamobim.com/t/sunsettings-altitude-units/70917 "2021-11-30T20:11:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![filip.kabelis](https://avatars.discourse-cdn.com/v4/letter/f/dc4da7/32.png) [@filip.kabelis](https://forum.dynamobim.com/u/filip.kabelis)\
**Post date:** [November 30, 2021, 8:11pm UTC](https://forum.dynamobim.com/t/sunsettings-altitude-units/70917/1 "2021-11-30T20:11:57Z")

</div>

Hey! I’ve been trying to create simple line between two points using Sunsettings nodes : Azimuth and Altitude for solar studies. I purposely don’t use Ladybug - I want to make it from scratch and learn something by doing it.

So far I was able to create a line from a point that seems to be aligning to shadows created by neighboring geometry.

Now the problem seems to be with units given by SunSettings.Altitude node - the value seems to be way too low to translate one end of line to match it with the shadows produced in 3D view.  
Empirically seems that adding manually about 1100 (model is in centrimeters) brings ‘sun’ end of the line closer to its real altitude - but of course this isn’t correct.  
Can you help me out? I skimmed through forums and haven’t found the answer.

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

---

<div class="post-metadata">

**Author:** ![SeanP](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/seanp/32/42560_2.png) [@SeanP](https://forum.dynamobim.com/u/SeanP)\
**Post date:** [December 2, 2021, 4:42am UTC](https://forum.dynamobim.com/t/sunsettings-altitude-units/70917/3 "2021-12-02T04:42:12Z")

</div>

Are you using the altitude as a distance or an angle?

[https://www.revitapidocs.com/2015/7dac428d-6e9e-dd74-afcd-9fb86f863054.htm](https://www.revitapidocs.com/2015/7dac428d-6e9e-dd74-afcd-9fb86f863054.htm)

---

<div class="post-metadata">

**Author:** ![filip.kabelis](https://avatars.discourse-cdn.com/v4/letter/f/dc4da7/32.png) [@filip.kabelis](https://forum.dynamobim.com/u/filip.kabelis)\
**Post date:** [December 2, 2021, 8:29am UTC](https://forum.dynamobim.com/t/sunsettings-altitude-units/70917/4 "2021-12-02T08:29:39Z")

</div>

Yes I realized yesterday i’m a chump… it should be used as an angle of course 🙂 case closed
