I have project with 8 part plans named as Part A, Part B,… Part H. and the Sheet names includes the Part names as A,B,C
now every part plan has different key plans. i created the title block with 8 instance on/off parameters to the keyplan in such a way that the sheet with Part A to select Part A keyplan.
i want to do this automated in dynamo
i created one dynamo selected the sheets named Part A, Part B and so on
and on another side i selected the title block and the instance parameters
now which node i have to use in such a way that the sheet name contains part a has to turn on Part A instance parameter in the title block
I would suggest that you create list with parameter names like A,B,C,D… and then yous should split Sheet name to get the index containg A, B, C, … then you just need to recreate parameter name using extracted index.
Soo i would do something like this, first filters sheets that need to get this parameter set.
Then i would group filtered sheets using this index (ex. part of Sheet Name)
when you have groups, you already know which sheets need what parameter from unique keys from List.GroupByKey node. You can also use those keys for searching/creating parameter name
then you just use Element.SetParameterByName node with levels (element at level 2, value and name at level 1)
If you need some more explanation I just create a dummy graph so you can what I mean, I will send it in 15-30 minutes.
then you have nested lists that are grouped by this parameter index. just use this string split as your keys.
soo if the name of parameter is A, B, C, then you just need to use this node with grouped lists from List.GroupByKeys node