Replicating Sheets based on Browser Organisation

Hello,

I’m trying to acomplish the following:

-Have the user make an example (template) sheet.
-Finding the view on that sheet
-finding the folder in the browser where that sheet is.
-Replicate the sheet for the other views in the same folder

Basically trying to give the user an “interface” to control the sheet layout and then duplicating it as many times as we can find views in the same folder.

I’m running into the following problem, the Sheet.ByNameNumberTitleblockView is giving me an incorrect input error. I’m giving it 3 lists of 7 items in my test at the moment and 1 TitleblockType. I made sure to have the actual elements for the views (the ids).

Can someone explain where I’m wrong? I did try Lacing>Longest already, no different result.

Thanks.

SheetsReplicationByFolder.dyn (21.3 KB)

Hi @Bjorn_Keulemans1,

Try using the List.Cycle node on the titleblock family type by the List.Length of the sheet name list. I think the node is getting confused about how to lace all inputs correctly.

Cheers,
Dan

Hi @Bjorn_Keulemans1

Currently your feeding “Numbers” to sheet number it accepts only string. You need to convert your numbers to string before feeding.

2 Likes

Thanks a lot, working as intended now. :smiley:

Could have sworn I tested a few of those variants but apparently not.

Thanks!

@Bjorn_Keulemans1 Don’t forget mark the post as solved. Thanks :slight_smile:

Yes, I was actually looking where to do that before someone here distracted me. Found it.