/
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
, multiple selections available,
Related content
setActiveTake
setActiveTake
More like this
x2dImportOptions
x2dImportOptions
More like this
getLastFile
getLastFile
More like this
xcpImportOptions
xcpImportOptions
More like this
reconstruct
reconstruct
More like this
Batch process trials
Batch process trials
More like this