Go to: Synopsis. Return value. Related. MEL examples.
 
setCustomAttrNiceNameResource(string $nodeType, string $attrShortName, string $str) 
	 
None
| Variable Name | Variable Type | Description | 
|---|---|---|
| $nodeType | string | the node type | 
| $attrLongName | string | the attribute's long name | 
| $str | string | displayable nice name string to be associated with this attribute | 
// Set the custom attribute's nice name string associated with // attribute "startPosition" 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. // setCustomAttrNiceNameResource( "myNode", "spos", "Start Position");