# Problem with filled region creation

**URL:** <https://forum.dynamobim.com/t/problem-with-filled-region-creation/8692>\
**Category:** Revit\
**Tags:** revit\
**Created:** [January 7, 2017, 2:42pm UTC](https://forum.dynamobim.com/t/problem-with-filled-region-creation/8692 "2017-01-07T14:42:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dantas](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@Dantas](https://forum.dynamobim.com/u/Dantas)\
**Post date:** [January 7, 2017, 2:42pm UTC](https://forum.dynamobim.com/t/problem-with-filled-region-creation/8692/1 "2017-01-07T14:42:03Z")

</div>

Hi everyone, I am starting in Dynamo and I am with a problem.  
I need to create filled region at top level and bottom level of structural columns.  
I found the lines of perimeters of top face and bottom face but I can’t use them to do perimeter of filled region.  
Can you help me? I don’t know where I am missing.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/2/42c46b9007b7a42131ef6b47e27dc41e5e328da7.png)

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [January 7, 2017, 3:06pm UTC](https://forum.dynamobim.com/t/problem-with-filled-region-creation/8692/2 "2017-01-07T15:06:44Z")

</div>

You need to use the _Views_ node to select a view that accepts annotation, as an input of the _FilledRegion.ByCurves_ node

---

<div class="post-metadata">

**Author:** ![Dantas](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@Dantas](https://forum.dynamobim.com/u/Dantas)\
**Post date:** [January 7, 2017, 3:22pm UTC](https://forum.dynamobim.com/t/problem-with-filled-region-creation/8692/3 "2017-01-07T15:22:29Z")

</div>

Oh thanks Yna, I was using the level name…  
I need use the view name…  
It’s working now.  
Thanks a lot!

---

<div class="post-metadata">

**Author:** ![Dantas](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@Dantas](https://forum.dynamobim.com/u/Dantas)\
**Post date:** [January 8, 2017, 2:06pm UTC](https://forum.dynamobim.com/t/problem-with-filled-region-creation/8692/4 "2017-01-08T14:06:14Z")

</div>

Hi people, the script above is filtering the list by count of elements. With Yna’s help the script can design the filled region but only to rectangle structural columns. I need filter in only top and bottom surface. I am thinking about to compare z coordinates at start and end point of curves and after to filter in only sublists than have the same value for all members of sublist. Is possible find all lists ALL TRUE in a collection of sublists?. How can I do it?

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [January 8, 2017, 8:40pm UTC](https://forum.dynamobim.com/t/problem-with-filled-region-creation/8692/5 "2017-01-08T20:40:14Z")

</div>

_Surface.FilterByOrientation_ from _Clockwork_ could probably help

---

<div class="post-metadata">

**Author:** ![Dantas](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@Dantas](https://forum.dynamobim.com/u/Dantas)\
**Post date:** [January 9, 2017, 12:45am UTC](https://forum.dynamobim.com/t/problem-with-filled-region-creation/8692/6 "2017-01-09T00:45:40Z")

</div>

Thanks again Yna…  
i found a form to filter top and bottom surfaces… With this node is very easy but it was good to learn…

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/e/fee1dc58f6e3259ce74a37e8d5379bc93d473c96.jpg)

---

<div class="post-metadata">

**Author:** ![Dantas](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@Dantas](https://forum.dynamobim.com/u/Dantas)\
**Post date:** [January 9, 2017, 12:46am UTC](https://forum.dynamobim.com/t/problem-with-filled-region-creation/8692/7 "2017-01-09T00:46:22Z")

</div>

![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/8/98ce3a0e38422b9030b2bd2cefe32b9397133a6d.jpg)

---

<div class="post-metadata">

**Author:** ![Dantas](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@Dantas](https://forum.dynamobim.com/u/Dantas)\
**Post date:** [January 9, 2017, 12:47am UTC](https://forum.dynamobim.com/t/problem-with-filled-region-creation/8692/8 "2017-01-09T00:47:04Z")

</div>

![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/a/7ad293fafb70231d7f7cdca3a6b7d3571a9975a2.jpg)
