Change titleblock instace parameters on selected sheets

Skip the sheets altogether. We tend to think in sheets because that’s what we physically interact with, but they have nothing to do with your logic here. You can get the sheet name and number directly from the title block so start with the title block instances and use those as your selection with Data-Shapes. Then you don’t have to worry about converting from sheet to title block.

3 Likes