Difference between revisions of "Id Atom"

From PyMOLWiki
Jump to: navigation, search
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===DESCRIPTION===
+
 
+
'''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.
  "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===
 
===PYMOL API===
<source lang="python">  
+
<source lang="python">
  list = cmd.id_atom(string selection)  
+
list = cmd.id_atom(string selection)  
</source>
+
</source>
  
[[Category:Commands|id_atom]]
+
[[Category:Commands|Id Atom]]

Latest revision as of 14:37, 17 November 2009

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)