移動先: 概要 戻り値 関連項目. MEL 例.

概要

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

ユーザ定義/カスタム/ダイナミック アトリビュートの niceNames に対して ローカライズ可能な文字列リソース値を定義するための便利なルーチンです。

戻り値

なし

関連項目

loadPluginLanguageResources, setAttrEnumResource, setAttrNiceNameResource, setCustomAttrEnumResource, setNodeNiceNameResource

引数

変数名 変数型 説明
$nodeTypestringノード タイプです。
$attrLongNamestringアトリビュートのロング ネームです。
$strstringこのアトリビュートに関連付ける表示可能なナイス ネームです。

MEL 例

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