ジャンプ先: 概要. 戻り値. フラグ. MEL 例.
getPanel [-allConfigs] [-allPanels] [-allScriptedTypes] [-allTypes] [-atPosition int int] [-configWithLabel string] [-containing string] [-invisiblePanels] [-scriptType string] [-type string] [-typeOf string] [-underPointer] [-visiblePanels] [-withFocus] [-withLabel string]
getPanel は、取り消し可能、照会不可能、および編集不可能です。
このコマンドは、パネル、とパネル設定情報を返します。
allConfigs, allPanels, allScriptedTypes, allTypes, atPosition, configWithLabel, containing, invisiblePanels, scriptType, type, typeOf, underPointer, visiblePanels, withFocus, withLabel
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
getPanel -all;
getPanel -type modelPanel;
getPanel -containing button0;
getPanel -underPointer;
getPanel -withFocus;
// Whenever the hotBox's 'noClickCommand' is invoked, have it switch the
// main Maya view to a single pane configuration, displaying the panel
// which was under the mouse pointer at the time the 'hotBox' command was
// executed.
global proc panePopAt(int $x, int $y)
{
string $panel = `getPanel -atPosition $x $y`;
if ($panel != "") {
doSwitchPanes(1, { "single", $panel });
}
}
hotBox -noClickCommand panePopAt -noClickPosition;