copy_to_grid_position
Copy elements to a new grid position by specifying source and target grid lines. The offset is computed and elements are recreated at the target position.
Instructions
Copy one or more elements to a new grid position.
Computes the offset from (from_x_line → to_x_line) and/or (from_y_line → to_y_line), then re-creates each element at the offset position. Elements must have been created in this session (UUIDs are looked up in the in-memory spec cache).
Example: copy a column from between X28–X29 to between X30–X31: from_x_line="28", to_x_line="30" → dx = X30 - X28
Returns a list of new ElementRef objects for the created copies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element_uuids | Yes | ||
| grid_name | Yes | ||
| from_x_line | No | ||
| to_x_line | No | ||
| from_y_line | No | ||
| to_y_line | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||