modelPanel [-barLayout] [-camera string] [-control] [-copy string] [-createString] [-defineTemplate string] [-docTag string] [-editString] [-exists] [-init] [-isUnique] [-label string] [-menuBarRepeatLast boolean] [-menuBarVisible boolean] [-modelEditor] [-needsInit] [-parent string] [-popupMenuProcedure script] [-replacePanel string] [-tearOff] [-tearOffCopy string] [-tearOffRestore] [-unParent] [-useTemplate string]
panelName
modelPanel は、取り消し可能、照会可能、および編集可能です。
モデル エディタから構成されるパネルが作成されます。詳細については、modelEditor コマンドの説明を参照してください。string | パネル名。 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
---|---|---|---|---|
-barLayout(-bl)
|
|
![]() |
||
|
||||
-camera(-cam)
|
string
|
![]() ![]() |
||
|
||||
-control(-ctl)
|
|
![]() |
||
|
||||
-copy(-cp)
|
string
|
![]() |
||
|
||||
-createString(-cs)
|
|
![]() |
||
|
||||
-defineTemplate(-dt)
|
string
|
![]() |
||
|
||||
-docTag(-dtg)
|
string
|
![]() ![]() ![]() |
||
|
||||
-editString(-es)
|
|
![]() |
||
|
||||
-exists(-ex)
|
|
![]() |
||
|
||||
-init(-in)
|
|
![]() ![]() |
||
|
||||
-isUnique(-iu)
|
|
![]() |
||
|
||||
-label(-l)
|
string
|
![]() ![]() |
||
|
||||
-menuBarRepeatLast(-mrl)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-menuBarVisible(-mbv)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-modelEditor(-me)
|
|
![]() |
||
|
||||
-needsInit(-ni)
|
|
![]() ![]() |
||
|
||||
-parent(-p)
|
string
|
![]() |
||
|
||||
-popupMenuProcedure(-pmp)
|
script
|
![]() ![]() |
||
|
||||
-replacePanel(-rp)
|
string
|
![]() |
||
|
||||
-tearOff(-to)
|
|
![]() ![]() |
||
|
||||
-tearOffCopy(-toc)
|
string
|
![]() |
||
|
||||
-tearOffRestore(-tor)
|
|
![]() ![]() |
||
|
||||
-unParent(-up)
|
|
![]() |
||
|
||||
-useTemplate(-ut)
|
string
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// Example 1. // // Create a model panel in a separate window. // string $window = `window`; paneLayout; modelPanel; showWindow $window; // Example 2. // // Set the panel configuration to show all 4 model views. // Then swap the Perspective View and Front View panels. // setNamedPanelLayout "Four View"; string $perspPanel = `getPanel -withLabel "Persp View"`; string $frontPanel = `getPanel -withLabel "Front View"`; modelPanel -edit -replacePanel $frontPanel $perspPanel;