# Filter sheet list by presence of title block or not

**URL:** <https://forum.dynamobim.com/t/filter-sheet-list-by-presence-of-title-block-or-not/75815>\
**Category:** Revit\
**Created:** [April 25, 2022, 1:12pm UTC](https://forum.dynamobim.com/t/filter-sheet-list-by-presence-of-title-block-or-not/75815 "2022-04-25T13:12:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![F.Gillis](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@F.Gillis](https://forum.dynamobim.com/u/F.Gillis)\
**Post date:** [April 25, 2022, 1:12pm UTC](https://forum.dynamobim.com/t/filter-sheet-list-by-presence-of-title-block-or-not/75815/1 "2022-04-25T13:12:42Z")

</div>

Hi,  
As I’m fairly new to Dynamo i have run into a problem I can’t seem to solve. I have created a graph to automate the creation of sheet sets in our company  
Problem I run in to is we have some standard sheets in our template with no titleblock present.

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

So i need to filter these out, in the attached image you can see I have more sheets in list then titleblocks. Any way I can filter these sheets to a list with only sheets containing titleblocks on them?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [April 25, 2022, 1:23pm UTC](https://forum.dynamobim.com/t/filter-sheet-list-by-presence-of-title-block-or-not/75815/2 "2022-04-25T13:23:26Z")

</div>

Assuming `Sheet.Titleblock` still returns an empty list (or null) for the sheets without TBs, just count the number of TBs per sheet and filter those with 0.

---

<div class="post-metadata">

**Author:** ![F.Gillis](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@F.Gillis](https://forum.dynamobim.com/u/F.Gillis)\
**Post date:** [April 25, 2022, 1:50pm UTC](https://forum.dynamobim.com/t/filter-sheet-list-by-presence-of-title-block-or-not/75815/3 "2022-04-25T13:50:51Z")

</div>

Thanks for you quick response

It seems like your approach solved my problem

 ![Sort_sheets_by_Titleblock_2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/d/9d64cd0db9f2ef51e58b2c8b60edba0b943363c2.png)

Thanks alot
