ジャンプ先: 概要. 戻り値. 関連. MEL 例.

概要

setNodeNiceNameResource(string $nodeType, string $str)

ノードの niceName の値に対してローカライズ可能な文字列リソース値を定義するための便利なルーチンです。

戻り値

なし

関連

loadPluginLanguageResources, setAttrNiceNameResource

引数

変数名 変数タイプ 説明
$nodeTypestringノード タイプです。
$strstringこのノード型に接続される、表示可能なナイス ネームです。

MEL 例

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