I have project with over 800 sheets and we need to change the titleblock family on roughly 50 of these. I had a go at a script but I’m get a “false” result everything. Can anyone spot what I’m missing or doing wrong.
For the first script, check if the familyinstance input is a flat list (otherwise use a list flatten node) and set lacing to longest on your last node. (It’s always a good habbit to show the data bubles beneath the most critical nodes (like you did with the last node) if you post a picture of a graph. It makes it a little easier to see what’s going on for the comunity)
For the second script you haven’t given the graph any input (or you didn’t post a picture of that). Replace the nodes called input with a familytypes node, as in the first graph, and with a string that is in the name of the sheets and is unique to only the sheets you want to change the titleblock for.
This workflow works for me.
You’ll get the false output because, you don’t feed the FamilyInstance.SetType-node with an element but a string. See my image below.
Hope it works