Good Morning Adam!
Thanks for the above, this works perfectly for Sheet Name but in fact i need to use the name of the ‘Title block’ for each sheet to Group / Define the group set.
See below, i have 5 title blocks instances in use for the current project (4 types overall, there are two instances of the ‘A2’ title block):
“PEP_Splashsheet”
“A1”
“A2”
“A3”
“A2”
These relate, in order, to the sheets in my project which are:
“0210 - PEP_SPLASH”
“2000 - SHEET 1”
“2001 - SHEET 2”
“2002 - SHEET 3”
2003 - SHEET 4"
Therefore i’m trying to produce sets by the titleblock name and so the result should be;
List
0 - (PEP_Splashsheet) Drawing set, Viewset create with 1 view inside (PEP_SPLASH)
1 - (A1) Drawing set, Viewset create with 1 view inside (SHEET 1)
2 - (A2), Viewset create with 2 views inside (SHEET 2, SHEET 4)
3 - (A3), Viewset create with 1 view inside (SHEET 3)
Edit: After writing the information above, i think I’ve now almost achieved what i’d set out to do.
However, there is still one problem, how do i define the viewsets only as “PEP_Splashsheet, A1, A2, A3 etc”.
At the moment i’ve linked it to the parameter name “Type” through the code block but this returns a long string of text, like “Family Type: A2, Family: PEP_Sheet”.
I have tried using “Family Type” in the code block but it returns blank results. See my current workflow below.
… and Merry Christmas to you too!!
Dynamo workflow with all relevant information shown;