移動先: 概要 戻り値 フラグ. MEL 例.
contextInfo [-class] [-escapeContext] [-exists] [-image1] [-image2] [-image3] [-title]
[context name]
contextInfo は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
このコマンドで、指定したコンテキストについての情報を取得できます。
戻り値の型は照会モードでは照会フラグが基になります。
class, escapeContext, exists, image1, image2, image3, title
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: 1 つのコマンドで複数回使用可能なフラグ
|
// Create a particle tool context, then switch to it
dynParticleCtx dynParticleCtx1;
setToolTo dynParticleCtx1;
// Get the class type of the current context
string $ctx = `currentCtx`;
contextInfo -c $ctx;
// Result: dynParticle //
// Get the title of the current context
contextInfo -t $ctx;
// Result: Particle Tool //