SetParameterByName in Document

I want to change sheet settings of a linked file before printing
I’m using GeniusLoci’s node @Alban_de_Chasteigner Alban_de_Chasteigner, but I can’t change the setting
anyone know why?
Thx

Hi @Akli.baliche,

The reason is written two times in your snapshot.
You’re trying to open a Revit file already linked in your main document.
Open another Revit session with an empty document to do this.

hi alban
you are a genius
Thanks