This is a read-only mirror of pymolwiki.org

Difference between revisions of "Wizard"

From PyMOL Wiki
Jump to navigation Jump to search
 
m
(One intermediate revision by the same user not shown)
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 14:29, 20 June 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()