This is a read-only mirror of pymolwiki.org
Difference between revisions of "Count Atoms"
Jump to navigation
Jump to search
m (5 revisions) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
− | + | '''count_atoms''' returns a count of atoms in a selection. | |
− | + | ||
===USAGE=== | ===USAGE=== | ||
− | + | <source lang="python"> | |
− | + | count_atoms (selection) | |
+ | </source> | ||
+ | |||
===PYMOL API=== | ===PYMOL API=== | ||
− | <source lang="python"> | + | <source lang="python"> |
− | + | cmd.count_atoms(string selection) | |
</source> | </source> | ||
− | [[Category:Commands| | + | [[Category:Commands|Count Atoms]] |
Latest revision as of 02:15, 28 March 2014
count_atoms returns a count of atoms in a selection.
USAGE
count_atoms (selection)
PYMOL API
cmd.count_atoms(string selection)