Alias

From PyMOLWiki
Revision as of 14:25, 17 November 2009 by Inchoate (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

alias allows you to bind a commonly used command to a single PyMOL keyword.

USAGE

alias name, command-sequence

PYMOL API

cmd.alias(string name,string command)

EXAMPLES

alias go,load $TUT/1hpv.pdb; zoom 200/; show sticks, 200/ around 8 go

NOTES

For security reasons, new PyMOL commands created using "extend" are not saved or restored in sessions.

SEE ALSO

extend, api