# Curtain Panels Count different

**URL:** <https://forum.dynamobim.com/t/curtain-panels-count-different/31699>\
**Category:** Uncategorized\
**Created:** [February 5, 2019, 5:35pm UTC](https://forum.dynamobim.com/t/curtain-panels-count-different/31699 "2019-02-05T17:35:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon\_murphy1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/simon_murphy1/32/101536_2.png) [@simon\_murphy1](https://forum.dynamobim.com/u/simon_murphy1)\
**Post date:** [February 5, 2019, 5:35pm UTC](https://forum.dynamobim.com/t/curtain-panels-count-different/31699/1 "2019-02-05T17:35:29Z")

</div>

Hi All,

I am trying to give curtain panels an individual mark value, but I have a different count of panels in the Revit Schedule to the Dynamo Nodes.

Does anyone know of why or other way of collecting the panels to renumber them. The model is large I can’t do a sense check to see which is correct.

 ![DIFFERENT%20COUNT](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/1/2111f507a453c0ee82b1fbf58b5e0e6c23daa565.png)

[COBie Instance marks CURTAIN WALL PANELS #6.dyn](https://forum.dynamobim.com/uploads/short-url/lo2IRaTzXz4Ear22lJmng6VMEZl.dyn) (154.6 KB)

> [@Curtain Panel.Boundaries](https://forum.dynamobim.com/t/curtain-panel-boundaries/5520/5):
>
> I don’t see any Walls in the curtain panels families. Strictly generic model families inside with adaptive points, ref points, ref planes , on a tile pattern grid.

This question has been asked before but no solution posted. I am thinking of exporting the schedule to excel or filtering some how.

---

<div class="post-metadata">

**Author:** ![cgartland](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cgartland/32/45378_2.png) [@cgartland](https://forum.dynamobim.com/u/cgartland)\
**Post date:** [February 5, 2019, 6:19pm UTC](https://forum.dynamobim.com/t/curtain-panels-count-different/31699/2 "2019-02-05T18:19:52Z")

</div>

I took a project and did the same process, coming up with similar results. The Revit schedule contained 2012 panels whereas Dynamo returned 2103 panels. The solution here is to only get elements visible in the active view. The Springs package has a node which allows you to do this called Springs.Collector.ElementsInView.

I don’t know the root cause for Revit and Dynamo to return different element counts, but I did notice that all of the elements which are present in Dynamo which are not present in the Revit schedule have no dimensions.

Valid curtain panel (present in Dynamo and Schedule):  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/a/1a7463b6472a69a23eef8c2a915d48199bbb76ad.png)

Invalid curtain panel (only in Dynamo):  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/2/527fb8c6582e288907984a11c42f178004bbbd6f.png)

---

<div class="post-metadata">

**Author:** ![simon\_murphy1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/simon_murphy1/32/101536_2.png) [@simon\_murphy1](https://forum.dynamobim.com/u/simon_murphy1)\
**Post date:** [February 5, 2019, 6:21pm UTC](https://forum.dynamobim.com/t/curtain-panels-count-different/31699/3 "2019-02-05T18:21:30Z")

</div>

I will try tomorrow and post the final dynamo file. Thanks

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [February 6, 2019, 1:19am UTC](https://forum.dynamobim.com/t/curtain-panels-count-different/31699/4 "2019-02-06T01:19:12Z")

</div>

The invalid curtain panel is a valid element (as you can see you were able to select it). These 0 unit x 0 unit panels are usually created when a curtain grid is excluded. What we thing happens is the ‘second’ panel is deleted, and a new, larger panel is created. What actually happens is one of the two panels is replaced with an empty system panel with 0 dimensions in all directions, and the second panel is resized to fill the void. Here’s a link showing it in action: [Screencast Title](https://autode.sk/2TtJXLo)

Knowing this, you can quickly filter these out by excluding the panels where the area parameter is not greater than 0 with a List.FilterByBoolMask node.

---

<div class="post-metadata">

**Author:** ![cgartland](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cgartland/32/45378_2.png) [@cgartland](https://forum.dynamobim.com/u/cgartland)\
**Post date:** [February 6, 2019, 5:33am UTC](https://forum.dynamobim.com/t/curtain-panels-count-different/31699/5 "2019-02-06T05:33:19Z")

</div>

Hmmm interesting. I wonder how Revit then handles them while creating schedules since you’d think that all elements would be represented.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [February 6, 2019, 7:01am UTC](https://forum.dynamobim.com/t/curtain-panels-count-different/31699/6 "2019-02-06T07:01:09Z")

</div>

Auto filters elements with no area. 🙂

Between that and the lack of geometry, you have to poke around in the api (in this case via Dynamo), or randomly slept by Element ID to find them.

---

<div class="post-metadata">

**Author:** ![simon\_murphy1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/simon_murphy1/32/101536_2.png) [@simon\_murphy1](https://forum.dynamobim.com/u/simon_murphy1)\
**Post date:** [February 7, 2019, 12:54pm UTC](https://forum.dynamobim.com/t/curtain-panels-count-different/31699/7 "2019-02-07T12:54:32Z")

</div>

Final file that works for me. dyn 2.0.1

[COBie Instance marks CURTAIN WALL PANELS #7.dyn](https://forum.dynamobim.com/uploads/short-url/7LnmGmOMorcQwECOy4wBPSItOjo.dyn) (168.0 KB)

---

<div class="post-metadata">

**Author:** ![Daniel\_Almenares](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/daniel_almenares/32/26293_2.png) [@Daniel\_Almenares](https://forum.dynamobim.com/u/Daniel_Almenares)\
**Post date:** [May 5, 2020, 6:55pm UTC](https://forum.dynamobim.com/t/curtain-panels-count-different/31699/8 "2020-05-05T18:55:28Z")

</div>

Thisssi really handy for me thanks for sharing
