Count States: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
===DESCRIPTION=== | ===DESCRIPTION=== | ||
'''count_states''' is an API-only function which returns the number of states in the selection. | |||
===PYMOL API=== | ===PYMOL API=== | ||
<source lang="python"> | |||
cmd.count_states(string selection="(all)") | |||
</source> | |||
===SEE ALSO=== | ===SEE ALSO=== | ||
[[Cmd frame]] | |||
[[Category:Commands|count_states]] | [[Category:Commands|count_states]] |
Revision as of 13:02, 9 June 2005
DESCRIPTION
count_states is an API-only function which returns the number of states in the selection.
PYMOL API
cmd.count_states(string selection="(all)")