where <interface> is the Interface to be inspected.
The optional to :<stream> keyword argument specifies a Stream Value to output the display to.
This function displays the interface information of the interface supplied as parameter.
The display of interface information is divided into three sections: Properties, Methods, and Actions.
In the Properties section, each property exposed by the interface is listed along with its data type or enumeration values and whether the property can be read and written to.
In the Methods section, each method is listed along with its return type and its argument list. The value type for each argument is shown. If the return type is shown as <void>, the method returns a value of 'ok'. Methods that are used by Actions are commented as such. These methods typically require that the object be selected and active in the appropriate command panel.
In the Actions section, each Action is listed along with its category and action description as shown in the Customize User Interface dialog, and the shortcut keys, if any, assigned to the Action.
In conjunction with the getInterfaces function which returns an array of interfaces exposed by a MAXWrapper or MAXClass, the showInterface function can be used to get similar output as from the showInterfaces function.