Isolate curtain wall panels in duplicate views

Translated by moderator. See below the line for original post.


I need to create a routine where:
1-The user selects the desired panels (curtain wall);
2-Dynamo creates an individual view for each selected element.
3-The user selects a view model.
4-The dynamo hides all elements that do not belong to that view.

I am managing to perform the task sometimes, but when I try to run the routine in the dynamo player, the routine gives an error.
can anybody help me?


Original post below.


Preciso criar uma rotina onde:
1-O usuário selecione os paineis (Parede cortina) desejados;
2-O Dynamo crie uma vista individual para cada elemento selecionado.
3-O usuário selecione um modelo de vista.
4-O dynamo oculte todos elementos que não pertençam a aquela vista.

Estou conseguindo realizar a tarefa as vezes, porém quando tento rodar a rotina no reprodutor do dynamo, a rotina dá erro.
Alguém poderia me ajudar?

@leandroarquiteturaD3 the official forum language is English, which sadly is a requirement to make search work, annars skulle jag bara träna min svenska hela dagen.

I’ve edited the post to make it indexable, but please translate all future posts, but feel free to include your native language as I did in the edit as that will help if we are ever be able to make search work in all languages.