Orient: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 21: Line 21:
[[Category:Commands|Orient]]
[[Category:Commands|Orient]]
[[Category:States|Orient]]
[[Category:States|Orient]]
[[Category:View Module|Orient]]

Revision as of 10:06, 20 June 2009

DESCRIPTION

orient aligns the principal components of the atoms in the selection with the XYZ axes. The function is similar to the orient command in X-PLOR.

USAGE

orient object-or-selection [, state]
orient (selection)

PYMOL API

cmd.orient( string object-or-selection [, state = 0] )

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, Origin, Reset