/
setActiveTake
setActiveTake
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
Name | Type | Required | Comments |
---|---|---|---|
x2dFile | string | yes | Full path to the x2d file. If an empty string is passed in, then the scene's active take will be cleared. |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
loadCal | 0 | — | — | Loads the associated calibration file when loading the x2d file |
loadChars | 0 | — | — | Loads 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
, multiple selections available,
Related content
getActiveTake
getActiveTake
More like this
reconstruct
reconstruct
More like this
Calibrating Vicon cameras
Calibrating Vicon cameras
More like this
x2dImportOptions
x2dImportOptions
More like this
resetScene
resetScene
More like this
Manage camera calibrations
Manage camera calibrations
More like this