Go to: Synopsis. Return value. MEL examples.

Synopsis

string[] getMayaPanelTypes (int $isScripted)

This proc returns available panel types for Maya. It will filter any unwanted types from all of the available types.

Return value

None

Arguments

Variable Name Variable Type Description
$isScriptedint- If 1 then return a list of scripted panels.

MEL examples

 getMayaPanelTypes(0);
 // Result:devicePanel hardwareRenderPanel blendShapePanel outlinerPanel modelPanel//


 getMayaPanelTypes(1);
 // Result:blindDataEditor componentEditorPanel dopeSheetPanel dynPaintScriptedPanelType dynRelEdPanel graphEditor hyperGraphPanel hyperShadePanel multiListerPanel polySelectionConstraintPanel polyTexturePlacementPanel referenceEditorPanel relationshipPanel renderWindowPanel scriptEditorPanel setEditor shadingGroupEditor visorPanel//