Table of Contents

alter_state

“alter_state” changes atom coordinates and flags over a particular state and selection using the Python evaluator with a temporary namespace for each atomic coordinate.

Usage

alter_state state, selection, expression

Examples

alter_state 1, all, x=x+5 
rebuild 

Notes

By default, most of the symbols from “alter” are available for use on a read-only basis.

It is usually necessary to “rebuild” representations once your alterations are complete.

See Also

iterate_state | alter | iterate | cmd.alter_state | commands