# Filtering Sheets by Title Block

**URL:** <https://forum.dynamobim.com/t/filtering-sheets-by-title-block/16868>\
**Category:** Lists-Logic\
**Created:** [November 27, 2017, 4:24pm UTC](https://forum.dynamobim.com/t/filtering-sheets-by-title-block/16868 "2017-11-27T16:24:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chad\_Clary](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/chad_clary/32/10510_2.png) [@Chad\_Clary](https://forum.dynamobim.com/u/Chad_Clary)\
**Post date:** [November 27, 2017, 4:24pm UTC](https://forum.dynamobim.com/t/filtering-sheets-by-title-block/16868/1 "2017-11-27T16:24:41Z")

</div>

I’m trying to create a sheet set only for sheets that have an 11x17 title block and am going in circles. So far I can collect the sheets and the title blocks, but I’m having a case of the Mondays and can’t figure out how to filter the list of sheets by the type of title block they have. Once filtered the Python creates the set with no issues - don’t recall exactly where the Python came from but most likely [this thread](http://dynamobim.org/forums/topic/create-sheetset-print-set-from-specified-revision/).

 ![SheetsByTitleBlock](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/f/df5a9da820d3b2b7363f3768ee4430ac269dd1fa.png)

Thanks

---

<div class="post-metadata">

**Author:** ![john\_pierson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john_pierson/32/191977_2.png) [@john\_pierson](https://forum.dynamobim.com/u/john_pierson)\
**Post date:** [November 27, 2017, 4:33pm UTC](https://forum.dynamobim.com/t/filtering-sheets-by-title-block/16868/2 "2017-11-27T16:33:14Z")

</div>

Luckily, in Revit a sheet is essentially a view. So using that logic, we can collect “things” in the view.

So to break it down a bit:

1. Collect Sheets
2. Get all of Titleblock category in each “view” (sheet), using **Springs.Collector.ElementsInView.**
3. Compare against a chosen titleblock type
4. Filter into two lists

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/6/26b31842ae5ccccbd989f5dc2e18aff950f2e401.png)

---

<div class="post-metadata">

**Author:** ![Chad\_Clary](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/chad_clary/32/10510_2.png) [@Chad\_Clary](https://forum.dynamobim.com/u/Chad_Clary)\
**Post date:** [November 27, 2017, 6:33pm UTC](https://forum.dynamobim.com/t/filtering-sheets-by-title-block/16868/3 "2017-11-27T18:33:25Z")

</div>

Much more elegant. Thanks! 🍻

I did try it early on with the **Springs.Collector.ElementsInView** but it took a while to run (job is under construction and there are a lot of sheets), although tinkering with it just now it looks like I can chain from the **Springs.Collector.Sheets** to the ElementsInView node (woo!) I’ll look at it a bit more this afternoon and see how it goes 😁

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [November 27, 2017, 6:48pm UTC](https://forum.dynamobim.com/t/filtering-sheets-by-title-block/16868/4 "2017-11-27T18:48:05Z")

</div>

@john_pierson I think beaker package has also a node called “Collector.SheetTitleBlock”

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/c/1cb069f74fb16c25bd1b2c3d8f4e29d73d599f30.png)

---

<div class="post-metadata">

**Author:** ![john\_pierson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john_pierson/32/191977_2.png) [@john\_pierson](https://forum.dynamobim.com/u/john_pierson)\
**Post date:** [November 27, 2017, 6:57pm UTC](https://forum.dynamobim.com/t/filtering-sheets-by-title-block/16868/5 "2017-11-27T18:57:37Z")

</div>

> [@Kulkul](#):
>
> I think beaker package has also a node called “Collector.SheetTitleBlock”

Lol, it sure does! (That’s mine as well). I was mostly offering the solution using what Chad had already used some of, (springnodes). 😂

---

<div class="post-metadata">

**Author:** ![tania.gutierrezcalvo](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@tania.gutierrezcalvo](https://forum.dynamobim.com/u/tania.gutierrezcalvo)\
**Post date:** [April 3, 2020, 5:48pm UTC](https://forum.dynamobim.com/t/filtering-sheets-by-title-block/16868/6 "2020-04-03T17:48:28Z")

</div>

Hello John,

I used your script and it works perfectly but I also need this for families is there a way that you can create a custom node “Family.Name” like the one of “Element.Name” ? 🙂  
The Spring package does not have this node that I want.

---

<div class="post-metadata">

**Author:** ![Alien](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alien/32/40701_2.png) [@Alien](https://forum.dynamobim.com/u/Alien)\
**Post date:** [April 14, 2020, 4:56pm UTC](https://forum.dynamobim.com/t/filtering-sheets-by-title-block/16868/7 "2020-04-14T16:56:08Z")

</div>

Do you mean like this? If you do it’s in the Orchid package.

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/4/84dccc8a464e659687c1f470c8aaffa4ccff617a.png)
