Count States: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 8: Line 8:


===SEE ALSO===
===SEE ALSO===
[[Cmd frame]]
[[Frame]]


[[Category:Commands|count_states]]
[[Category:Commands|count_states]]
[[Category:Ensembles]]

Revision as of 08:47, 19 January 2009

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)")

SEE ALSO

Frame