Share

Interface: UtilityPanel

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
   Link_Inheritance__Selected
   Instance_Duplicate_Maps
   PhysX_Debug_Visualizer
   PopRefUtil
   MAXScript
   Surface_Approximation
   Substitute_Manager
   Level_of_Detail
   IFL_Manager
   COM_DCOM_Server_Control
   Particle_Flow_Utility
   Fix_Ambient
   Polygon_Counter
   Camera_Tracker
   MACUtilities
   Visual_MAXScript
   Strokes
   Clone_and_Align_Tool
   Flight_Studio
   Follow_Bank
   Channel_Info
   SkinUtilities
   PythonHost
   Resource_Collector
   Panorama_Exporter
   Batch_ProOptimizer
   RayFX
   Object_Display_Culling
   UVW_Remove
   Camera_Match
   Clean_MultiMaterial
   Measure
   HairMaxUtility
   Assign_Vertex_Colors
   MAX_File_Finder
   Motion_Capture
   ShineExp
   Scene_Effect_LoaderUtilityPlugin
   Scene_State_Manager
   Shape_Check
   BevelProfileUtilityInterface
   Perspective_Match
   GameExporter
   Reset_XForm
   Color_Clipboard
   File_Link_Manager
   Bitmap_Photometric_Paths
   Batch_Render_Manager
   Rescale_World_Units
   collapse

Was this information helpful?