Difference between revisions of "View"

From PyMOLWiki
Jump to navigation Jump to search
m (→‎Function Key Presets: capitalized title)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
===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===
+
===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.
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]]
+
[[Category:View Module|View]]

Latest revision as of 09:36, 28 June 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

SEE ALSO

Scene, Set View, Get View