# Get host and Values from dimensions, how?

**URL:** <https://forum.dynamobim.com/t/get-host-and-values-from-dimensions-how/74222>\
**Category:** Developers\
**Created:** [March 10, 2022, 6:51pm UTC](https://forum.dynamobim.com/t/get-host-and-values-from-dimensions-how/74222 "2022-03-10T18:51:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [March 10, 2022, 6:51pm UTC](https://forum.dynamobim.com/t/get-host-and-values-from-dimensions-how/74222/1 "2022-03-10T18:51:33Z")

</div>

Hello,

Can i get values and the host(s) of a dimension?

**dimension.host**

Can I sum up values for examples? or can i trigger values ? f.e. if it is 2500 write Upper Text ,…

is the host exposed to the API ?

 ![2022-03-10_19h47_01](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/3/7302510a6f899ba67b0b87f5c99787fc6f98d529.png)  
 ![2022-03-10_19h49_41](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/b/dbb26a1502ece4d4f9449c2f44286631bdc2d2f8.png)

That would be intresting, to check floorplans f.e.

KR

Andreas

---

<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:** [March 11, 2022, 1:28am UTC](https://forum.dynamobim.com/t/get-host-and-values-from-dimensions-how/74222/2 "2022-03-11T01:28:52Z")

</div>

You can certainly get the Value from the dimensions.

> **[Dimension Members](https://www.revitapidocs.com/2017/e7d89ec9-836a-dba0-eed6-7ccace9d0b26.htm)**
>
> Online Documentation for Autodesk's Revit API: 2015, 2016, 2017, 2017.1, 2018

However, the “Host” may be a little harder because it is actually a reference that is embedded within a host that the dim snaps too.

You may have to gather the walls and get Thier references and then compare.

---

<div class="post-metadata">

**Author:** ![Vladimir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vladimir/32/147600_2.png) [@Vladimir](https://forum.dynamobim.com/u/Vladimir)\
**Post date:** [March 11, 2022, 10:27am UTC](https://forum.dynamobim.com/t/get-host-and-values-from-dimensions-how/74222/3 "2022-03-11T10:27:26Z")

</div>

Try GeniusLoci.

 ![dims](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/0/f0496cf06fa8b6c46124f6d96777ecd17e8e5781.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:** [March 11, 2022, 12:58pm UTC](https://forum.dynamobim.com/t/get-host-and-values-from-dimensions-how/74222/4 "2022-03-11T12:58:49Z")

</div>

Perfect node, thanks for sharing!
