Providing User Interface Text for a Command

 
 
 

In addition to the command name, a command also has a description and tooltip that are displayed in the Softimage user interface:

The description and tooltip are specified in the Init callback:

function MyCommand_Init( ctxt )
{
	var oCmd;
	oCmd = ctxt.Source;

	oCmd.Description = "Does something extremely useful.";
	oCmd.Tooltip = "Do something";

	// ...

	return true;
}