panelConfiguration [-addPanel boolean string string string string] [-configString string] [-createStrings] [-defaultImage string] [-defineTemplate string] [-editStrings] [-exists] [-image string] [-isFixedState] [-label string] [-labelStrings] [-numberOfPanels] [-removeAllPanels] [-removeLastPanel] [-replaceCreateString int string] [-replaceEditString int string] [-replaceFixedState int boolean] [-replaceLabel int string] [-replacePanel int boolean string string string string] [-replaceTypeString int string] [-sceneConfig boolean] [-typeStrings] [-useTemplate string]
[name]
panelConfiguration は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
このコマンドは、ビュー構成オブジェクトを作成します。一般的に、このメソッド コマンドは直接呼び出しません。その代わりにパネル エディタ(Panel Editor)を使用してください。 ビュー構成は、作成したら、パネルの「パネル校正 > 保存したレイアウト(Panels > Saved Layouts)」メニューから選択して Maya メイン ウィンドウに表示できます。string | 作成された panelConfiguration の名前。 |
戻り値の型は照会モードでは照会フラグが基になります。
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
-exists(-ex)
|
|
![]() |
||
|
||||
-defineTemplate(-dt)
|
string
|
![]() |
||
|
||||
-useTemplate(-ut)
|
string
|
![]() |
||
|
||||
-label(-l)
|
string
|
![]() ![]() ![]() |
||
|
||||
-defaultImage(-di)
|
string
|
![]() ![]() |
||
|
||||
-image(-i)
|
string
|
![]() ![]() ![]() |
||
|
||||
-sceneConfig(-sc)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-configString(-cfs)
|
string
|
![]() ![]() ![]() |
||
|
||||
-numberOfPanels(-np)
|
|
![]() |
||
|
||||
-addPanel(-ap)
|
boolean string string string string
|
![]() ![]() ![]() |
||
|
||||
-replacePanel(-rp)
|
int boolean string string string string
|
![]() ![]() |
||
|
||||
-replaceLabel(-rl)
|
int string
|
![]() |
||
|
||||
-replaceEditString(-res)
|
int string
|
![]() |
||
|
||||
-replaceCreateString(-rcs)
|
int string
|
![]() |
||
|
||||
-replaceFixedState(-rfs)
|
int boolean
|
![]() |
||
|
||||
-replaceTypeString(-rts)
|
int string
|
![]() |
||
|
||||
-removeLastPanel(-rlp)
|
|
![]() |
||
|
||||
-removeAllPanels(-rap)
|
|
![]() |
||
|
||||
-isFixedState(-if)
|
|
![]() |
||
|
||||
-labelStrings(-ls)
|
|
![]() |
||
|
||||
-typeStrings(-ts)
|
|
![]() |
||
|
||||
-createStrings(-cs)
|
|
![]() |
||
|
||||
-editStrings(-es)
|
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// Create a custom panel configuration. // string $configName = `panelConfiguration -label "Custom Panel Layout" -sceneConfig false -configString "paneLayout -e -cn \"vertical2\" -ps 1 39 100 -ps 2 61 100 $gMainPane;" -addPanel false "Outliner" "outlinerPanel" ("{global int $gUseMenusInPanels;\ $panelName = `outlinerPanel -mbv $gUseMenusInPanels -unParent -l \"Outliner\"`;\ outlinerEditor -e -highlightActive true $panelName;}") "outlinerPanel -edit -l \"Outliner\" $panelName" -addPanel true "Persp View" "modelPanel" ("{global int $gUseMenusInPanels;\ modelPanel -mbv $gUseMenusInPanels\ -unParent -l \"Persp View\" -cam persp;}" ) "modelPanel -edit -l \"Persp View\" -cam \"persp\" $panelName"`; // Update the main Maya window to reflect the custom panel configuration. // Note also that your custom configuration may be selected from any // panel's "Panels->Saved Layouts" menu. // setNamedPanelLayout "Custom Panel Layout";