This is a read-only mirror of pymolwiki.org
Difference between revisions of "View"
Jump to navigation
Jump to search
m (2 revisions) |
|||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
− | + | '''view''' makes it possible to save and restore viewpoints on a given scene within a single session. | |
− | + | ||
− | |||
===USAGE=== | ===USAGE=== | ||
− | + | <source lang="python"> | |
− | + | view key[,action] | |
− | + | view * | |
− | + | </source> | |
− | + | ||
− | + | key can be any string | |
+ | action should be 'store' or 'recall' (default: 'recall') | ||
+ | |||
===PYMOL API=== | ===PYMOL API=== | ||
<source lang="python"> | <source lang="python"> | ||
− | + | cmd.view(string key,string action) | |
</source> | </source> | ||
− | === | + | ===FUNCTION KEY PRESETS=== |
− | + | 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=== | ===EXAMPLES=== | ||
− | + | view 0,store | |
− | + | view 0 | |
− | + | ||
− | |||
===SEE ALSO=== | ===SEE ALSO=== | ||
− | + | [[Scene]], [[Set View]], [[Get View]] | |
− | + | ||
− | + | [[Category:Commands|View]] | |
− | [[Category:Commands| | + | [[Category:View Module|View]] |
Latest revision as of 15:34, 11 July 2014
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)
FUNCTION KEY PRESETS
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