/
setTimebarRange

setTimebarRange

Description

Enables you to set the time bar view range. This is similar to zooming and panning in the view, but via scripting.

Functional area

Playback Control

Command syntax

Syntax

setTimebarRange inTime outTime [-start] [-end]

Arguments

See above syntax and examples below.

Flags

See above syntax and examples below.

Return value

void

Examples

// Set the view range from frame 25 to 50
setTimebarRange 25 50;

// Set the view range start to 30
setTimebarRange 30 -start;

// Set the view range end to the current frame
setTimebarRange -end;

Additional information

Related commands