# How to get the elements inside a boundingbox?

**URL:** <https://forum.dynamobim.com/t/how-to-get-the-elements-inside-a-boundingbox/5863>\
**Category:** Revit\
**Tags:** python\
**Created:** [August 28, 2016, 9:20am UTC](https://forum.dynamobim.com/t/how-to-get-the-elements-inside-a-boundingbox/5863 "2016-08-28T09:20:15Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![Einar\_Raknes](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/einar_raknes/32/8566_2.png) [@Einar\_Raknes](https://forum.dynamobim.com/u/Einar_Raknes)\
**Post date:** [October 26, 2016, 11:15am UTC](https://forum.dynamobim.com/t/how-to-get-the-elements-inside-a-boundingbox/5863/17 "2016-10-26T11:15:40Z")

</div>

I wrote this in another topic: How to make a pyton script work with a list as input

> [@Dividing parts with dynamo](https://forum.dynamobim.com/t/dividing-parts-with-dynamo/5388/7):
>
> @jostein_olsen Thank you, I do not have a [nice blog](http://jbdynamo.blogspot.no/) like your self, and I thought I might share a little something while trying to learn for my self. ##How to make this work for multiple walls? A limitation with the above python script is that it will only work for a single wall element, and that is not very efficient. We have two options to make it work for a list of walls: Wrap the python script in a custom node, be sure to define the input correctly as explained by @Dimitar_Venkov in [t…](https://forum.dynamobim.com/t/how-to-handle-variable-input-list-length-nesting-in-custom-nodes-python/3192/5)

---

_[View the full topic](https://forum.dynamobim.com/t/how-to-get-the-elements-inside-a-boundingbox/5863)._
