Id Atom

From PyMOLWiki
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)