Iterate State: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
===DESCRIPTION===
===DESCRIPTION===
'''iterate_state''' is to "alter_state" as "iterate" is to "alter".
'''iterate_state''' is to '''alter_state''' as '''iterate''' is to '''alter'''.
 
===USAGE===
===USAGE===
iterate_state state,(selection),expression
iterate_state state,(selection),expression

Revision as of 13:46, 10 January 2006

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