/
getAutoSaveFile

getAutoSaveFile

Description

Gets the auto-save file location

Shogun Post has an auto scene-saving feature which automatically saves your scene after a specified period of time since the last file save performed.

By default, the location for the file is a file called AutoSave.hdf in your ShogunPost root directory (e.g. C:/Program Files/Vicon/ShogunPost#.#/AutoSave.hdf) unless you change it using the setAutoSaveFile command. Use forward slashes instead of back-slashes for all file system paths.

Functional area

System

Command syntax

Syntax

getAutoSaveFile

Arguments

None

Flags

None

Return value

string

Returns the full path to the auto-save file location.

Examples

// Set the auto-save file to be "C:/Temp/AutoSaveFile.hdf"
setAutoSaveFile "C:/Temp/AutoSaveFile.hdf";
 
// Now print it out - it should match what we just set it to
string $str = `getAutoSaveFile`;
print $str;

Additional information

Related commands