This is a read-only mirror of pymolwiki.org
Difference between revisions of "Wizard"
Jump to navigation
Jump to search
m (7 revisions) |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
'''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. | '''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=== | ||
− | + | <source lang="python"> | |
+ | wizard name | ||
+ | </source> | ||
===PYMOL API=== | ===PYMOL API=== | ||
Line 11: | Line 13: | ||
===EXAMPLE=== | ===EXAMPLE=== | ||
− | + | <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| | + | [[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()