/
getLastFile
getLastFile
Description
Returns the name of the last opened file.
Useful when querying the scene for the last file opened. This gives you the last file imported if there was one imported into the scene.
Functional area
Data retrieval
Command syntax
Syntax
getLastFile [-noExtension] |
Arguments
None
Flags
See above syntax.
Return value
string
Examples
//query the latest file path and //print it to the command log string $temp = `getLastFile`; print $temp ;
Additional information
Related commands
, multiple selections available,