Page 1 of 1

Share views in script

Posted: Thu Feb 12, 2015 4:35 pm
by joleenf
I have recently been using scripts to view multiple bands of the same images. It is useful to display the various bands in different displays. It is helpful to set a sharing group so that the displays share views when zooming or panning the image. This can also be done from the script:

panel1=buildWindow()[0]
panel2=buildWindow()[0]
panel1.setShareGroup('group 1')
panel2.setShareGroup('group 1')
panel1.setShareViews(1)

Thanks,
Joleen