This is a read-only mirror of pymolwiki.org

Identify

From PyMOL Wiki
Revision as of 05:51, 23 February 2005 by Tree (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

DESCRIPTION

  "identify" returns a list of atom IDs corresponding to the ID code
  of atoms in the selection.

PYMOL API

   list = cmd.identify(string selection="(all)",int mode=0)

NOTES

  mode 0: only return a list of identifiers (default)
  mode 1: return a list of tuples of the object name and the identifier