「Bim:attributeset-set-label」の版間の差分

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{BCAD_LISP_BIM}} ; 構文 : (Bim:attributeset-set-label ''asetName'' ''label'') ; 機能 : asetNameで指定された 属性セット名に ラベル label を割り当てる。 ; 引数 * asetName : 属性セット名を取得するための属性セット名。 * label : 属性セットに設定するラベル名の文字列 ; 戻り値 : 割り当てられたら T、それ以外は nil を返す。 MEMO * 属性セット名は大文字と小文字を…」)
 
(相違点なし)

2024年5月19日 (日) 06:03時点における最新版

構文
(Bim:attributeset-set-label asetName label)


機能
asetNameで指定された 属性セット名に ラベル label を割り当てる。


引数
  • asetName : 属性セット名を取得するための属性セット名。
  • label : 属性セットに設定するラベル名の文字列


戻り値
割り当てられたら T、それ以外は nil を返す。


MEMO

  • 属性セット名は大文字と小文字を区別しない。


サンプル
(vl-load-bim)
(bim:create-attributeset "---testName---" "---testLabel---" T)
T
(bim:attributeset-create-property  "---testName---"  "TestProp" "---label---" nil T)
T
(Bim:attributeset-set-label "---testName---" "TestProp" )
T
(Bim:attributeset-get-label "---testName---")
"TestProp"
(Bim:attributeset-set-label "---testName---" "TestProp2" )
T
(Bim:attributeset-get-label "---testName---")
"TestProp2"


関連事項