modelPanel [-barLayout] [-camera string] [-control] [-copy string] [-defineTemplate string] [-docTag string] [-exists] [-init] [-isUnique] [-label string] [-menuBarVisible boolean] [-modelEditor] [-needsInit] [-parent string] [-popupMenuProcedure string] [-replacePanel string] [-tearOff] [-tearOffCopy string] [-unParent] [-useTemplate string]
panelName
modelPanel は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
モデル エディタから構成されるパネルが作成されます。詳細については、modelEditor コマンドの説明を参照してください。string | パネル名。 |
戻り値の型は照会モードでは照会フラグが基になります。
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
-exists(-ex)
|
|
![]() |
||
|
||||
-defineTemplate(-dt)
|
string
|
![]() |
||
|
||||
-useTemplate(-ut)
|
string
|
![]() |
||
|
||||
-init(-in)
|
|
![]() ![]() |
||
|
||||
-label(-l)
|
string
|
![]() ![]() |
||
|
||||
-copy(-cp)
|
string
|
![]() |
||
|
||||
-control(-ctl)
|
|
![]() |
||
|
||||
-isUnique(-iu)
|
|
![]() |
||
|
||||
-parent(-p)
|
string
|
![]() |
||
|
||||
-popupMenuProcedure(-pmp)
|
string
|
![]() ![]() |
||
|
||||
-unParent(-up)
|
|
![]() |
||
|
||||
-replacePanel(-rp)
|
string
|
![]() |
||
|
||||
-tearOff(-to)
|
|
![]() ![]() |
||
|
||||
-tearOffCopy(-toc)
|
string
|
![]() |
||
|
||||
-menuBarVisible(-mbv)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-needsInit(-ni)
|
|
![]() ![]() |
||
|
||||
-docTag(-dtg)
|
string
|
![]() ![]() ![]() |
||
|
||||
-modelEditor(-me)
|
|
![]() |
||
|
||||
-barLayout(-bl)
|
|
![]() |
||
|
||||
-camera(-cam)
|
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;