#

## orient

Orient the selection according to the specified orientation.

### Usage:

> orient [orientation] [-origin]

> > where orientation is an orientaton in the form given by the instance orientation command, or an orienation in DEF format (see below).

### Summary:

> The orient command orients the selection according to the given orientation, which may be in the same syntax returned by the "instance orientation" command, or according to the syntax used by the DEF format.

> Valid values for orientation are: 0, 90, 180, 270, h, v, or any combination of rotation and h or v (e.g., 90h); or the DEF orientations N, S, E, W, FN, FS, FE, and FW.

> If -origin is specified, the orientation is around the origin of the selection, not around the lower left-hand corner (see the clockwise command).

### Implementation Notes:

> orient is implemented as a built-in magic command.

### See Also:

> clockwise
> sideways
> upsidedown
> instance
> getcell

Return to command index

Last updated: October 30, 2020 at 10:50am