Get State

From PyMOLWiki
Revision as of 17:39, 25 May 2010 by Slaw (talk | contribs) (moved Get state to Get State)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

  "get_state" returns the current state index (1-based)

PYMOL API

  cmd.get_state()

NOTES

  States refer to different geometric configurations which an object
  can above.  By default, states and movie frames have a one-to-one
  relationship.  States can be visited in an arbitrary order to
  create frames.  The "mset" command allows you to build a
  relationship between states and frames.

SEE ALSO

Get Frame