Go to: Synopsis. Return value. Related. MEL examples.
setNodeNiceNameResource(string $nodeType, string $str)
None
Variable Name | Variable Type | Description |
---|---|---|
$nodeType | string | the node type |
$str | string | displayable nice name string to be associated with this nodetype |
// Set the niceName string associated with // the node type "myNode". This example shows an // English resource value, however this routine would more often // be called in practice to provide localized string values. // setNodeNiceNameResource( "myNode", "My Node");