Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

objectTypeUI [-isType string] [-listAll] [-superClasses] string

objectTypeUI is undoable, NOT queryable, and NOT editable.

This command returns the type of UI element such as button, sliders, etc.

Return value

stringThe type of the specified object.

Flags

isType, listAll, superClasses
Long name (short name) Argument types Properties
-isType(-i) string create
Returns true|false if the object is of the specified type.
-listAll(-la) create
Returns a list of all known UI commands and their respective types. Each entry contains three strings which are the command name, ui type and class name. Note that the class name is internal and is subject to change.
-superClasses(-sc) create
Returns a list of the names of all super classes for the given object. Note that all class names are internal and are subject to change.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

objectTypeUI "viewPanes";