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

Synopsis

setAttrNiceNameResource(string $nodeType, string $attrShortName, string $str)

Convenience routine to define localizable string resource values for an attribute's niceName value.

Return value

None

Related

loadPluginLanguageResources, setAttrEnumResource, setNodeNiceNameResource

Arguments

Variable Name Variable Type Description
$nodeTypestringthe node type
$attrShortNamestringthe attribute's short name
$strstringdisplayable nice name string to be associated with this attribute

MEL examples

  // Set the attribute nice name string associated with 
  // attribute "spos" on node type "myNode".  This example shows an
  // English resource name, however this routine would more often
  // be called in practice to provide localized string values. 
  // 
  setAttrNiceNameResource( "myNode", "spos", "Start Position");