copySpacingMode
layout copySpacingMode cyclic { "pitch" | "spacing" | "absolute" }
Description
Sets the spacing mode in the Copy form.
-
pitch: Applies between objects the delta distance specified in the Delta X, Y fields of the Copy form. The distance is measured between the same-edge corners of the objects in the array; for example, the distance between the left edges of objects. -
spacing: Applies between objects the distance specified in the Spacing X, Y fields. The distance is measured between the adjacent-edge corners of the objects in the array; for example the distance between the bottom edge of an object and the top edge of another object. -
absolute: Enables you to copy an object at the exact location specified in the X, Y fields. The absolute mode is not available for group arrays.
GUI Equivalent
Examples
envGetVal("layout" "copySpacingMode")
envSetVal("layout" "copySpacingMode" 'cyclic "absolute")
envSetVal("layout" "copySpacingMode" 'cyclic "spacing")
Related Topics
Return to top