Difference between revisions of "Wizard"

From PyMOLWiki
Jump to navigation Jump to search
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
===DESCRIPTION===
+
 
'''wizard''' launches on of the built-in wizards.  There are special Python scripts which work with PyMOL in order to obtain direct user interaction and easily peform complicated tasks.
+
'''wizard''' launches one of the built-in wizards.  There are special Python scripts which work with PyMOL in order to obtain direct user interaction and easily peform complicated tasks.
  
 
===USAGE===
 
===USAGE===
wizard name
+
<source lang="python">
 +
wizard name
 +
</source>
  
 
===PYMOL API===
 
===PYMOL API===
Line 11: Line 13:
  
 
===EXAMPLE===
 
===EXAMPLE===
wizard distance  # launches the distance measurement wizard  
+
<source lang="python">
 +
wizard distance  # launches the distance measurement wizard  
  
 +
# set a message
 +
cmd.wizard("message", "Hello, I'm a message.")
 +
 +
# dimiss the message
 +
cmd.wizard()
 +
</source>
  
[[Category:Commands|wizard]]
+
[[Category:Commands|Wizard]]

Latest revision as of 14:44, 17 November 2009

wizard launches one of the built-in wizards. There are special Python scripts which work with PyMOL in order to obtain direct user interaction and easily peform complicated tasks.

USAGE

wizard name

PYMOL API

cmd.wizard(string name)

EXAMPLE

wizard distance  # launches the distance measurement wizard 

# set a message
cmd.wizard("message", "Hello, I'm a message.")

# dimiss the message
cmd.wizard()