You are here: User Guide > Nuke > Using RotoPaint > Copying, Pasting, and Cutting Stroke Positions

Copying, Pasting, and Cutting Stroke Positions

After creating a stroke/shape, you can copy, paste, and cut its position to use the same shape in other strokes/shapes. Copying, cutting, or pasting values applies to only one keyframe.

To Copy Stroke/Shape Positions

You can copy the stroke/shape position values for an entire selected shape. This enables you to use the same values for another shape in the Viewer. Unlike cutting stroke/shape values, described below, copying position values does not delete any keys set. To copy a stroke/shape:

1.   With the Select All tool active, select the stroke/shape in the Viewer that you want to copy.
2.   Right-click on the stroke/shape and select copy > curve (spline-key values).

This copies the position and point values into the clipboard.

To Cut Stroke/Shape Positions

You can cut the stroke/shape position values for an entire selected shape. This enables you to use the same values to replace another shape in the Viewer. To cut a stroke/shape:

1.   With the Select All tool active, select the stroke/shape in the Viewer that you want to copy.
2.   Right-click on the stroke/shape and select cut > curve (spline-key values).

This cuts the position and point values and places it into the clipboard. Cutting the position deletes the keyframe, or, if there is no keyframe, deletes the points or spline.

NOTE:  To cut stroke/shape position values, you must be cutting the stroke/shape when it is on a keyframe, unless it has no keyframe. You cannot cut an animated stroke/shape not currently on a keyframe.

To Paste Stroke/Shape Positions

You can paste copied or cut stroke/shape position values from the clipboard onto another stroke/shape. This enables you to create a copy, or replacement, shape in the Viewer. To paste a copied or cut shape:

1.   With the Select All tool active, select the stroke/shape in the Viewer that you want to copy.
2.   Right-click on a selected stroke/shape and select paste > spline (values).

This pastes the copied or cut position and point values from the clipboard onto another shape. In the case of copied shapes, the new shape may be created over the original. Simply select and drag to move it away from the original shape. Spline key values must have the same number of points between the copied or cut stroke/shape and the stroke/shape you are replacing.