Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

leRepeatCopyMoveStretch

leRepeatCopyMoveStretch(
)
=> t / nil

Description

Copies, moves, or stretches the selected objects and applies the same transform as done in the last copy, move, or stretch command and selects the newly created objects. This function applies to all the options specified in the last copy, move, or stretch commands, including the Create Synchronous Copy option available only in Layout XL and higher tiers.

The function does not support the Change To Layer option of the copy and move commands.

Arguments

None

Value Returned

t

The operation succeeded.

nil

The operation failed.

Example

If there are two rectangles on the canvas and you start the Copy command and copy the rectangles. Then, you invoke the leRepeatCopyMoveStretch () function in the CIW, the selected rectangles are copied again with the last transformation. Similarly, if you move the rectangles and invoke the leRepeatCopyMoveStretch () function, the two selected rectangles move with the same last transformation. The behavior is similar for the Stretch command.

leRepeatCopyMoveStretch()


Return to top
 ⠀
X