Page 1 of 1

How do I specify a screen size using a jython shell?

Posted: Mon Oct 17, 2011 2:26 pm
by Rick
If you have a bundle and want to specify a screen size, enter the values as the last two arguments to the loadbundle function. Here is an example for a Windows platform:

loadBundle("C:\\Documents and Settings\\rickk\\McIDAS-V\\bundles\\small-dateline.mcv",None,2048,1024)

Specifying the number of lines an elements, overrides what is in the bundle. If reduced resolution data was displayed in the original bundle and you have specified a screen size larger than the bundles window size, higher resolution data will be saved using writeImage.