User Tools

Site Tools


api:cmd:translate

cmd.translate

“cmd.translate” translates the atomic coordinates of atoms in a selection. Alternatively, is modifies the matrix associated with a particular object or object-state.

Parameters

cmd.translate(list vector, string selection, int state, int
              camera, string object)

Implementation

def translate(vector=[0.0,0.0,0.0], selection="all", state=-1, 
              camera=1, object=None, object_mode=0):

See Also

api/cmd/translate.txt · Last modified: 2013/08/19 21:01 (external edit)