Take list of sheets and filter by title block family?

Hi… In my sheet views I have an instance parameter called “Sheet Size” which I currently enter manually for keeping track of sheet sizes for printing etc.
I have managed to automate several printing and exporting processes and would like to go a step further by having Dynamo enter the value into the “Sheet Size” parameter based on the title block family which is currently on each sheet.

Is there a way of getting the sheet element id from a title block instance ?

I have seen posts online which seem to be similar to my situation but not quite the same. I have two lists… A sheet list and a title block list, each with different id numbers but I’m stumped as to how I can link them together.


See if the attached image explains your need and if you can use it to solve. Thanks!

Thanks for the reply. I’ll give that a try.