Id Atom
Appearance
id_atom returns the original source id of a single atom, or raises and exception if the atom does not exist or if the selection corresponds to multiple atoms.
PYMOL API
[edit]list = cmd.id_atom(string selection)
id_atom returns the original source id of a single atom, or raises and exception if the atom does not exist or if the selection corresponds to multiple atoms.
list = cmd.id_atom(string selection)