Alias: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
DESCRIPTION


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


USAGE
===USAGE===
alias name, command-sequence


  alias name, command-sequence
===PYMOL API===
cmd.alias(string name,string command)


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


  cmd.alias(string name,string command)
===NOTES===
For security reasons, new PyMOL commands created using "extend" are not saved or restored in sessions.


EXAMPLES
===SEE ALSO===
[[Cmd extend|extend]], [[Cmd api|api]]


  alias go,load $TUT/1hpv.pdb; zoom 200/; show sticks, 200/ around 8
[[Category:Commands|Alias]]
  go
 
NOTES
 
  For security reasons, new PyMOL commands created using "extend" are
  not saved or restored in sessions.
 
SEE ALSO
 
  extend, api
 
[[Category:Commands|alias]]

Latest revision as of 13:25, 17 November 2009

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