View: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


===USAGE===
===USAGE===
<source lang="python">
view key[,action]
view key[,action]
view *
view *
</source>


key can be any string
key can be any string

Revision as of 21:18, 6 January 2006

DESCRIPTION

view makes it possible to save and restore viewpoints on a given scene within a single session.

USAGE

view key[,action]
view *

key can be any string action should be 'store' or 'recall' (default: 'recall')

PYMOL API

cmd.view(string key,string action)

VIEWS

Views F1 through F12 are automatically bound to function keys provided that "set_key" has not been used to redefine the behaviour of the respective key, and that a "scene" has not been defined for that key.

EXAMPLES

view 0,store
view 0

SEE ALSO

Cmd scene, Cmd set_view, Cmd get_view