This is a read-only mirror of pymolwiki.org
Difference between revisions of "Id Atom"
Jump to navigation
Jump to search
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
===DESCRIPTION=== | ===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. | |
− | + | ||
− | |||
− | |||
− | |||
===PYMOL API=== | ===PYMOL API=== | ||
− | + | <source lang="python"> | |
− | + | list = cmd.id_atom(string selection) | |
− | + | </source> | |
− | [[Category:Commands| | + | [[Category:Commands|Id Atom]] |
Revision as of 14:05, 20 June 2009
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.
PYMOL API
list = cmd.id_atom(string selection)