This is a read-only mirror of pymolwiki.org

Id Atom

From PyMOL Wiki
Revision as of 03:06, 28 March 2014 by Bell (talk | contribs) (3 revisions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

list = cmd.id_atom(string selection)