# Finding Structural Opening Host Using Python

**URL:** <https://forum.dynamobim.com/t/finding-structural-opening-host-using-python/66215>\
**Category:** Revit\
**Tags:** python\
**Created:** [July 14, 2021, 11:11pm UTC](https://forum.dynamobim.com/t/finding-structural-opening-host-using-python/66215 "2021-07-14T23:11:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jia98](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@Jia98](https://forum.dynamobim.com/u/Jia98)\
**Post date:** [July 14, 2021, 11:11pm UTC](https://forum.dynamobim.com/t/finding-structural-opening-host-using-python/66215/1 "2021-07-14T23:11:19Z")

</div>

Hi All, if I create an opening in a steel bar, is there any way to find the host element of it? I am trying to learn python whereby assigning the workset of the host element to the opening cut. Bear in mind this is not a void but an Opening Cut?

DB.Opening.xxxxxxxx
