Difference between revisions of "Wizard"

From PyMOLWiki
Jump to navigation Jump to search
Line 3: Line 3:
  
 
===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]]

Revision as of 16:39, 23 April 2009

DESCRIPTION

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()