「Bim:attributeset-list-properties」の版間の差分

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{BCAD_LISP_BIM}} ; 構文 : (Bim:attributeset-list-properties ''asetName'' ) ; 機能 : 属性セット asetName で定義されているすべての 属性に対して定義されているプロパティのリストを返す。 ; 引数 * asetName : プロパティを取得する属性セット名の文字列。 ; 戻り値 : 属性プロパティのリスト、または nil。 : 各属性プロパティのエントリは、(<name> <description> <type>)…」)
 
(相違点なし)

2024年5月18日 (土) 18:12時点における最新版

構文
(Bim:attributeset-list-properties asetName )


機能
属性セット asetName で定義されているすべての 属性に対して定義されているプロパティのリストを返す。


引数
  • asetName : プロパティを取得する属性セット名の文字列。


戻り値
属性プロパティのリスト、または nil。
各属性プロパティのエントリは、(<name> <description> <type>) のリスト。


MEMO

  • AttributeSet 名は大文字小文字を区別しない。


サンプル
(vl-load-bim)
(bim:create-attributeset "---testName---" "---testLabel---" T)
T
(bim:attributeset-create-property "---testName---" "testName" "testLabel" "testDesc" T)
(bim:attributeset-create-property "---testName---" "testName2" "testLabel2" "testDesc2" T)
T

(bim:attributeset-list-properties "---testName---")
(("testName" "testDesc" "string") ("testName2" "testDesc2" "string"))

関連事項