Revit API: get document Title Blocks

Does anyone know how to get all the Title Block Id’s in a Revit document? I’m not looking to get any or all of the Title Blocks placed on sheet views, I am simply after the list of Title Block Id’s to be able to create new sheets. I can get the category using Python/Revit API but I cant get a list of Title Blocks loaded into the project.

Hi Thomas,

There is way to collect all the elements where element is element type. You can then filter by category to collect all title blocks in a revit document which are not placed.

3 Likes

Non-python way :slight_smile:

*These are non-placed family types

2 Likes

Custom node (All Family Types of Category) contains python though :smile::grinning:

2 Likes

LOL, good point. *not fully python :joy:

Thanks guys. So just to be clear, the python methods (whichever one is used :wink:) returns all Title Blocks Family Symbols loaded into the project? Or have I misunderstood, and will I only get the ones not in use (i.e. not placed on sheet view - not what I want).

All in project.

1 Like

You will get all loaded families in project.

2 Likes

Here is the non python way:

2 Likes

Good to know - it needs to be coded as the process is part of a larger function that requires recursion. Thanks for the responses