Auto zoom: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 5: Line 5:
==Syntax==
==Syntax==


set auto_zoom, on
set auto_zoom, on    
 
set auto_zoom, off
set auto_zoom, off

Revision as of 23:29, 9 September 2006

Overview

When set "on", this setting causes PyMOL to "auto_zoom" to any new object upon loading. This is helpful when one wishes to look at a new object immediately upon loading it into your PyMOL session; it can also be vexing in the situation where you have a carefully constructed view that might be "lost" if you do not anticipate that the program will change the view on loading an additional object. If you opt to use "auto_zoom on", it is also wise to get in the habit of frequent session saves and also use of "scenes" and the "get_view" utility, which will save one's current view orientation matrix to the (temporary) memory cache. The 'default' behavior (ON) can be overridden by placing the "set auto_zoom, off" statement into your '.pymolrc' file, located in your login directory (under all flavors of unix).

Syntax

set auto_zoom, on

set auto_zoom, off