/
setTimeCodeOffset

setTimeCodeOffset

Description

Specifies a time code offset to imported data in order to sync that data with the data in the current scene

Sets the SMPTE offset (in frames) on a clip. If no clip name is specified, then the offset will be applied to the active clip.

Functional area

Data editing

Command syntax

Syntax

setTimeCodeOffset offset [-onClip string]

Arguments

Name Type Required Comments
offset string yes The offset to apply

Flags

Name Flag arguments Argument type Exclusive to Comments
onClip 1 string Name of the clip on which to set the time code offset

Return value

void

Examples

// Set the SMPTE offset on the active clip
int $offset = 4;
setTimeCodeOffset $offset;

Additional information

Related commands