This is a read-only mirror of pymolwiki.org

Difference between revisions of "Wizard"

From PyMOL Wiki
Jump to navigation Jump to search
 
m (7 revisions)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===DESCRIPTION===
+
 
    "wizard" launches on of the built-in wizards.  There are special
+
'''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.
  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===
    cmd.wizard(string name)
+
<source lang="python">
+
cmd.wizard(string name)
 +
</source>
 +
 
 
===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 04:07, 28 March 2014

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