Jump to content

Identify: Difference between revisions

From PyMOL Wiki
Vinnyrose (talk | contribs)
mNo edit summary
No edit summary
Line 1: Line 1:
===DESCRIPTION===
 
'''identify''' returns a list of atom IDs corresponding to the ID code of atoms in the selection.
'''identify''' returns a list of atom IDs corresponding to the ID code of atoms in the selection.



Revision as of 18:37, 17 November 2009

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