Duplicate Views multiple times


#1

I’m working on Project Setup a script to add Dependent Views & assign Scope Boxes
I’m using the archilab View.Duplicate to create the dependent Views, but it only accepts a single input.
How can I pass it a list of names and create multiple Dependent Views?
Tried List.Map, but that didn’t work.


#2

View.Duplicate will duplicate a list of views. If you want the same view duplicated multiple times you need a list containing that view multiple times.


#3

I used to have this method working but with 2.0 they changed something and added a name input and now it only creates one it fails…
image


#4

You need to give a name for each view.


#5

ugh…it used to just iterate and then i fed it into a set parameter