“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.
alter_state state, selection, expression
alter_state 1, all, x=x+5 rebuild
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.