This information is for Vicon Shogun 1.3. For up-to-date help, see the latest Shogun documentation.

Vicon Shogun banner

Description

Load a native file (*.vdf or *.hdf). You are prompted for a filename.

Use loadFile when you need to open an existing *.vdf file. This action will close the open scene, prompting you first to save it.

You can also use this command to import or merge non-native motion capture files into your existing scene.

Functional area

File handling

Command syntax

Syntax

loadFile ["filename1" "filename2" ...][-startTime integer] [-type string] [-i] [-createSecondFig] [-importType string] [-range integer integer]

Arguments

NameTypeRequiredComments
filename

String path name of file to be loaded (can be specified by the File Open or File Import dialog boxes or explicitly by name)

Flags

NameFlag argumentsArgument typeExclusive toComments
startTime1integerForce the incoming animation to start at the specified time.
type1stringOpen the dialog with filter set to given extension (e.g. "asf" sets extension filter to .asf)
i0Import from a non-native file. Importer is chosen by matching the file extension.
createSecondFig0Will automatically create a second clip with second figure data for each clip created upon import
importType1stringArguments for this option are:
ImportSelectedCreateNew - the default and does as indicated
ImportOnlySelected - ignores any modules being imported that are not selected
AlwaysCreateNew - forces importers to always create new modules
CurrentClipCreateNew
MergeAll
MergeSelected
range2integer

Return value

boolean

Examples

loadFile -i -importType "mergeSelected"; 
// This command prompts you to select a non-native file.
// The selected file is merged into your existing scene.
loadFile "C:/temp/myFile .vdf" ;
// Loads a native VDF file

Additional information

Related commands