Go to: Synopsis. Return value. Related. MEL examples.

Synopsis

setNodeNiceNameResource(string $nodeType, string $str)

Convenience routines to define localizable string resource values for a node niceName value.

Return value

None

Related

loadPluginLanguageResources, setAttrNiceNameResource

Arguments

Variable Name Variable Type Description
$nodeTypestringthe node type
$strstringdisplayable nice name string to be associated with this nodetype

MEL examples

  // 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");