Origin

From PyMOLWiki
Revision as of 07:30, 7 September 2010 by Karo (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

origin sets the center of rotation about a selection. If an object name is specified, it can be used to set the center of rotation for the object's TTT matrix.

USAGE

origin selection [, object [,position, [, state]]]
origin (selection)
origin position=[1.0,2.0,3.0]

PYMOL API

cmd.origin( string object-or-selection )

NOTES

  • state = 0 (default) use all coordinate states
  • state = -1 use only coordinates for the current state
  • state > 0 use coordinates for a specific state

SEE ALSO

Zoom, Orient, Reset