「Bim:attributeset-has-property」の版間の差分

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{BCAD_LISP_BIM}} ; 構文 : (Bim:attributeset-has-property ''entity'' ''asetName'' ''propName'' ) ; 機能 : 属性セット asetName で定義されているすべての 属性に対して定義されているプロパティのリストを返す。 指定されたエンティティに、AttributeSet asetName の Property propName が割り当てられているかどうかを検証する。 ; 引数 * entity : クエリするエンティティ名 * asetName…」)
 
(相違点なし)

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

構文
(Bim:attributeset-has-property entity asetName propName )


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

指定されたエンティティに、AttributeSet asetName の Property propName が割り当てられているかどうかを検証する。


引数
  • entity : クエリするエンティティ名
  • asetName :クエリする属性セット名の文字列
  • propName : プロパティ名の文字列


戻り値
T or nil


MEMO

  • 属性セット名は 大文字小文字を区別しない。
  • プロパティ名は大文字と小文字が区別されない。


サンプル
(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-has-property (car (entsel)) "---testName---" "testName")
T

関連事項