ジャンプ先: 概要. 戻り値. 関連. 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");