paste_keys

paste_keys(to_paste: Value, matched_channels, dest_layer: Node, frame_in: float, frame_out: float, to_frame: float, mode: PasteMode, type: PasteType) None

Paste values onto matching channels in a targeted layer.

frame_in and frame_out are used in Replace and Insert modes only. frame_in and frame_out define a range in the input curve time space. In Replace mode, the keys of the destination curve in the interval [frame_in+delta, frame_out+delta] will be erased before the paste operation. In Insert mode, an empty interval will be inserted in [frame_in+delta, frame_out+delta] before the paste operation.

Parameters
  • to_paste (Value) – The values to be pasted

  • dest_layer (Node) – The destination layer

  • frame_in (float) – Starting frame of the pasted values

  • frame_out (float) – Ending frame of the pasted values

  • to_frame (float) – Destination frame in the destination layer

  • mode (PasteMode) – Paste mode, merge by default

  • type (PasteType) – Paste type, hard by default

Return type

None