MAXScript Language Reference > 3ds Max Objects > Interfaces > Core Interfaces > Core Interfaces Documentation > U,V,W,X,Y,Z >

# Interface: UtilityPanel

Interfaces >Core Interfaces > UtilityPanel

| Core Interfaces - Quick Navigation

This Core Interface lets you open and close Utility Plug-ins in the Utilities Tab.

Methods:

    <integer>UtilityPanel.OpenUtility <class>ClassName

Switches the control panel to the Utility Panel and opens the specified utility.

    <integer>UtilityPanel.CloseUtility()

Closes a modal (bound to panel) utility. Does not close modeless utilities.

If the Utilities tab is currently not displayed in the Command panel, the utility will still be closed.

Returns true if successful, false if not.

EXAMPLE
    --Open the MAXScript utility in the Utilities panel
    UtilityPanel.OpenUtility MAXScript
    True
    --Close any utility currently open in the Utilities panel
    UtilityPanel.CloseUtility()
    OK

To get an array of the installed utility classes, use utilityplugin.classes

EXAMPLE
    --Print the available utility classes to the Listener
    print utilityplugin.classes
    MAXScript
    Surface_Approximation
    Level_of_Detail
    Asset_Browser
    IFL_Manager
    COM_DCOM_Server_Control
    Camera_Tracker
    Visual_MAXScript
    Strokes
    Lightscape_Materials
    Follow_Bank
    Resource_Collector
    Polygon_Counter
    RayFX
    Dynamics
    UVW_Remove
    Camera_Match
    Measure
    Assign_Vertex_Colors
    MAX_File_Finder
    Motion_Capture
    Shape_Check
    Reset_XForm
    Color_Clipboard
    ASCII_Object_Output
    Bitmap_Photometric_Path_Editor
    Rescale_World_Units
    collapse