Get State

From PyMOLWiki
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