Count Atoms: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
===DESCRIPTION===
===DESCRIPTION===
    "count_atoms" returns a count of atoms in a selection.
'''count_atoms''' returns a count of atoms in a selection.
 
===USAGE===
===USAGE===
    count_atoms (selection)
<source lang="python">
count_atoms (selection)
</source>
 
===PYMOL API===
===PYMOL API===
<source lang="python">  
<source lang="python">
  cmd.count(string selection)  
cmd.count(string selection)  
</source>
</source>


[[Category:Commands|count_atoms]]
[[Category:Commands|count_atoms]]

Revision as of 15:35, 19 August 2005

DESCRIPTION

count_atoms returns a count of atoms in a selection.

USAGE

count_atoms (selection)

PYMOL API

cmd.count(string selection)