This is a read-only mirror of pymolwiki.org

Difference between revisions of "View"

From PyMOL Wiki
Jump to navigation Jump to search
 
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===

Revision as of 05:58, 21 February 2005

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