/
saveFile

saveFile

Description

Saves native file format to the current filename.

Use saveFile to save your work, maintaining the existing filename or by indicating a new filename. If there is no current filename, you are prompted to supply one.

Functional area

File handling

Command syntax

Syntax

saveFile ["filename1"][-e string] [-s] [-append string]

Arguments

NameTypeRequiredComments
filename1

Save to the named file

Flags

NameFlag argumentsArgument typeExclusive toComments
e1stringExport to named format (e.g. "c3d", "bvh") using string argument
s0Export selected items only
append1stringString name to be appended to the argument filename (e.g. "_edt")

Return value

string array

Examples

saveFile "newFileName.hdf" ;
// The above command saves the current scene to new 
// file called "newFileName".
 
string $Path[] = `saveFile -e csm -s -append _vicon RockOn`;
// Saves the currently selected objects to a file called 
// "RockOn_vicon.csm"
  
print $Path;

Additional information

Related commands


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks