/
getActiveTake

getActiveTake

Description

Returns the active take. The active take is the current source capture file (x2d file). There can only be one active take and it gets set when you import an x2d file.

When you reconstruct, you will be reconstructing data from the active take.

Use forward-slashes for file paths.

Functional area

System

Command syntax

Syntax

getActiveTake

Arguments

None

Flags

None

Return value

string

The full path to the active take.

Examples

// Imports an x2d file. The active take returned will
// match that of the x2d file imported
loadFile "C:/MyProduct/CaptureDay1/Session1/Take0002.x2d";
  
// Will print "C:/MyProduct/CaptureDay1/Session1/Take0002.x2d"
print ( `getActiveTake` );

Additional information

Related commands


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks