Go to: Synopsis. Return value. Related. Flags. MEL examples.

Synopsis

crashInfo [-crashFile] [-crashLog] [-savedBeforeCrash]

crashInfo is undoable, queryable, and NOT editable.

Provides an interface to the crash file information.

Return value

None

In query mode, return type is based on queried flag.

Related

file, workspace

Flags

crashFile, crashLog, savedBeforeCrash
Long name (short name) Argument types Properties
-crashFile(-cf) query
Return the crash file full path name.
-crashLog(-cl) query
Return the crash log full path name.
-savedBeforeCrash(-sbc) query
Return the saved file full path name before crash.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// query the crash file full path name
//
crashInfo -q -cf
// Result: C:/Users/maya/AppData/Local/Temp/maya.20160413.2009.ma //

// query the crash log file full path name
//
crashInfo -q -cl
// Result: C:/Users/maya/AppData/Local/Temp/maya.20160413.2009.log //

// query the saved file full path name before crash
//
crashInfo -q -sbc
// Result: C:/Users/maya/Documents/maya/projects/default/scenes/test.mb //