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.
|String path name of file to be loaded (can be specified by the File Open or File Import dialog boxes or explicitly by name)|
|Name||Flag arguments||Argument type||Exclusive to||Comments|
|1||integer||—||Force the incoming animation to start at the specified time.|
|1||string||—||Open the dialog with filter set to given extension (e.g. "asf" sets extension filter to .asf)|
|0||—||—||Import from a non-native file. Importer is chosen by matching the file extension.|
|0||—||—||Will automatically create a second clip with second figure data for each clip created upon import|
|1||string||—||Arguments 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
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