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 blendShapePanel outlinerPanel modelPanel//

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