orientation
layout orientation cyclic { "R0" | "R90" | "R180" | "R270" | "MY" | "MYR90" | "MX" | "MXR90" }
Description
Specifies the incremental orientation with which objects are placed during creation or editing, with an initial setting of R0. The default is R0.
This environment variable corresponds to the Rotate, Sideways, and Upside Down buttons on any form. It resets to R0 after each usage, so you can use it only to set an orientation bindkey. Each time you press the bindkey the value specified is added to whichever one of the eight legal orientations the object is currently in (R0, R90, R180, R270, MY, MYR90, MX, or MXR90). Therefore, this variable is only used as a relative value.
GUI Equivalent
Examples
envGetVal("layout" "orientation")
envSetVal("layout" "orientation" 'cyclic "R90")
envSetVal("layout" "orientation" 'cyclic "MXR90")
Related Topics
Return to top