View: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
===DESCRIPTION===
===DESCRIPTION===
"view" makes it possible to save and restore viewpoints on a given
'''view''' makes it possible to save and restore viewpoints on a given scene within a single session.
scene within a single session.
 
===USAGE===
===USAGE===
view key[,action]
view key[,action]
view *
view *
 
key can be any string
key can be any string
action should be 'store' or 'recall' (default: 'recall')
action should be 'store' or 'recall' (default: 'recall')
 
===PYMOL API===
===PYMOL API===
<source lang="python">
<source lang="python">
cmd.view(string key,string action)
cmd.view(string key,string action)
</source>
</source>


===VIEWS===
===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.
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,store
  view 0
  view 0
 
===SEE ALSO===
===SEE ALSO===
[[Cmd scene]], [[Cmd set_view]], [[Cmd get_view]]
  [[Cmd scene]], [[Cmd set_view]], [[Cmd get_view]]
 
[[Category:Commands|view]]
[[Category:Commands|view]]

Revision as of 20:17, 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