ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
crashInfo([crashFile=boolean], [savedBeforeCrash=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
crashInfo は、取り消し可能、照会可能、および編集不可能です。
クラッシュ ファイル情報に対するインタフェースを提供します。なし
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
crashFile(cf)
|
boolean
|
|
||
|
||||
savedBeforeCrash(sbc)
|
boolean
|
|
||
|
||||
import maya.cmds as cmds # query the crash file full path name # cmds.crashInfo( q = True, cf = True) # Result: C:/Users/maya/AppData/Local/Temp/maya.20160413.2009.ma # # query the saved file full path name before crash # cmds.crashInfo( q = True, sbc = True) # Result: C:/Users/maya/Documents/maya/projects/default/scenes/test.mb #