Vicon Shogun banner

Description

Sets the scene's active take

The active take is the source capture file (x2d file). There can only be one active take. When you reconstruct, you are reconstructing data from the active take.

Calling this method is the equivalent of importing an x2d file. It is provided for convenience and to enable you to "clear" the active take by passing an empty string ( "" ) as the active take.

Functional area

System

Command syntax

Syntax

setActiveTake x2dFile[-loadCal] [-loadChars] [-loadHardwareSettings] [-loadVideo] [-moveVideo]

Arguments

NameTypeRequiredComments
x2dFilestringyesFull path to the x2d file. If an empty string is passed in, then the scene's active take will be cleared.

Flags

NameFlag argumentsArgument typeExclusive toComments
loadCal0Loads the associated calibration file when loading the x2d file
loadChars0Loads the associated characters when loading the x2d file
loadHardwareSettings



loadVideo



moveVideo



Return value

void

Examples

// This will set the active take, loading in the calibration file 
// associated with the take
setActiveTake "C:/MyProduct/CaptureDay1/Session1/Take0002.x2d" -loadCal;

Additional information

Related commands