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);
#ifdef MAYA_BOLT_VERSION
 // Result:devicePanel blendShapePanel outlinerPanel modelPanel//
#else
 // Result:devicePanel hardwareRenderPanel blendShapePanel outlinerPanel modelPanel//
#endif

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