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

Useful hints
Post Reply
User avatar
Rick
Posts: 404
Joined: Fri Jan 16, 2009 8:20 pm

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

Post 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.
Post Reply