View placed in Sheet

Hi all,
I have my script to place views in sheets. Everything works perfect unless the position of the view in the sheet.
I have a reference view but the new view placed doesnt take the same place.

Regards

You can try this approach…

Tnx