Go to: Synopsis. Return value. MEL examples.
string[] getMayaPanelTypes (int $isScripted)
None
Variable Name | Variable Type | Description |
---|---|---|
$isScripted | int | - If 1 then return a list of scripted panels. |
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