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;
}

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License