“cmd.iterate_state” is to “alter_state” as “iterate” is to “alter”
def iterate_state(state, selection, expression, quiet=1, space=None, atomic=1):
iterate_state | api