# How can I get geometry value from levels and grids?

**URL:** <https://forum.dynamobim.com/t/how-can-i-get-geometry-value-from-levels-and-grids/105072>\
**Category:** Uncategorized\
**Created:** [October 11, 2024, 3:54am UTC](https://forum.dynamobim.com/t/how-can-i-get-geometry-value-from-levels-and-grids/105072 "2024-10-11T03:54:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jh.lee5YTTX](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@jh.lee5YTTX](https://forum.dynamobim.com/u/jh.lee5YTTX)\
**Post date:** [October 11, 2024, 3:54am UTC](https://forum.dynamobim.com/t/how-can-i-get-geometry-value-from-levels-and-grids/105072/1 "2024-10-11T03:54:13Z")

</div>

What I want to do is making Bounding Box by geometry value from levels and grids.

I could make function for Bounding Box, but exporting geometry value is difficult.

How can I get elevation from two levels and X and Y coordination from two X grids and two Y grids?  
sorry for my bad English I can explain again if you can’t understand my text.

---

<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:** [October 11, 2024, 6:32am UTC](https://forum.dynamobim.com/t/how-can-i-get-geometry-value-from-levels-and-grids/105072/2 "2024-10-11T06:32:37Z")

</div>

@jh.lee5YTTX

i loved it with reference planes and cubids

> [@Bounding box of level](https://forum.dynamobim.com/t/bounding-box-of-level/78477/4):
>
> @Joelmick @vanman , i need this also for creating a “filter” of elements in this box, by level. KR Andreas

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [October 11, 2024, 6:58am UTC](https://forum.dynamobim.com/t/how-can-i-get-geometry-value-from-levels-and-grids/105072/3 "2024-10-11T06:58:48Z")

</div>

> [@jh.lee5YTTX](#):
>
> How can I get elevation from two levels and **X and Y coordination from two X grids and two Y grids?**

Subject similar to this has been touched many time before on this forum.  
[https://forum.dynamobim.com/search?q=grid%20intersections](https://forum.dynamobim.com/search?q=grid%20intersections)  
A topic that came to mind which can also be helpful.

> [@Bounding box at grid/curve intersections](https://forum.dynamobim.com/t/bounding-box-at-grid-curve-intersections/95989/14):
>
> Thanks Cyril, I have used your code as reference to obtain what I needed. I also wanted grid names with the box so I used my original code and added your logic to create box from sorted points. And instead of sorting grids by name I had to sort them by their location as in some of the models grids names were not in the sequence as sorting will produce. Final script to get boxes looks something like this. [gridsolids] Thanks you All Best Regards Ni…

I also.

> [@How to get help on the Dynamo forums](https://forum.dynamobim.com/t/how-to-get-help-on-the-dynamo-forums/4677):
>
> One of the main goals of the Dynamo community is to help others. One way to do that is by answering your questions. But to get the right answer, you’ll first have to ask your question in the right way. Although people are generally very helpful, there are things you can do to improve your chances of getting good and quick answers. Below you will find some suggestions on how to achieve that. Do not think of these suggestions as rules and especially do not take them as a guarantee of getting an an…
