This is a read-only mirror of pymolwiki.org

Difference between revisions of "View"

From PyMOL Wiki
Jump to navigation Jump to search
m
(3 intermediate revisions by the same user not shown)
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===
 +
<source lang="python">
 
view key[,action]
 
view key[,action]
 
view *
 
view *
+
</source>
 +
 
 
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===
+
[[Scene]], [[Set_View]], [[Get_View]]
  [[Cmd scene]], [[Cmd set_view]], [[Cmd get_view]]
+
 
+
[[Category:Commands|View]]
[[Category:Commands|view]]
 

Revision as of 14:29, 20 June 2009

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

Scene, Set_View, Get_View