Go to: Synopsis. Return value. MEL examples.
addAttributeEditorNodeHelp(string $nodeType, string $helpCommand)
None
Variable Name | Variable Type | Description |
---|---|---|
$nodeType | string | The node type. |
$helpCommand | string | The command to display help for the node. This command is invoked when the corresponding menu item is selected from the Attribute Editor Help menu. Specify an empty string to prevent the menu item for the node type from being created. |
// Prevent a menu item in the Help menu from being // created for nodes of type "customNodeType1". // addAttributeEditorNodeHelp("customNodeType1", ""); // Use the showHelp command to display a specific web page // when the "customNodeType2" Help menu item is selected. // addAttributeEditorNodeHelp("customNodeType2", "showHelp -absolute \"http://www.alias.com\""); // Use the print command to inform user no help is available // for "customNodeType3". // addAttributeEditorNodeHelp("customNodeType3", "print \"No help available yet for customNodeType3\\n\"");