Whoa, why are we toggling visibility here ?
Put ONE instance of your template, and pass it the appropriate parameters. That's what templates are for.
If you only want one being displayed at a time, I can't see a reason to ever instantiate all of them then switching visibility.
edit:
wait, what ?
So what you want is to REMOVE the selected turbine ?
Bonjour @pascal.fragnoud , en fait ce que je voulais faire était: Sur le menu principal, je devrais avoir 4 templates turbines. Sur Menu principal je devrais avoir radio buttons conrepondant aux noms de chaque turbine. Par exemple, lorsque button turbine 1 est vrai, alors la tempalte turbine 1 instancié sur menu principal devient invisible.
Mais... pourquoi ? C'est vraiment un design étrange. A quel besoin ca répond ?