User Tools

Site Tools


api:cmd:center

cmd.center

“cmd.center” translates the window, the clipping slab, and the origin to a point centered within the atom selection.

Parameters

cmd.center(string selection, int state, int origin)

Implementation

def center(selection="all", state=0, origin=1, animate=0):

See Also

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