Jump to content

Alias

From PyMOL Wiki
(Redirected from Cmd alias)

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

USAGE

[edit]
alias name, command-sequence

PYMOL API

[edit]
cmd.alias(string name,string command)

EXAMPLES

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

NOTES

[edit]

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

SEE ALSO

[edit]

extend, api