Iterate State

From PyMOLWiki
Jump to navigation Jump to search

DESCRIPTION

iterate_state is to alter_state as iterate is to alter.

USAGE

iterate_state state,(selection),expression

EXAMPLES

stored.sum_x = 0.0
iterate 1,(all),stored.sum_x = stored.sum_x + x

SEE ALSO

Cmd iterate, Cmd alter, Cmd alter_state