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

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{BCAD_LISP_BIM}} ; 構文 : (bim:attributeset-bimtypes-has ''asetName'' ''bimType'') ; 機能 : 属性セット asetName が BIMタイプ bimType (グローバルなローカライズされていない名前文字列)を持っているかどうかを返す。 ; 引数 * asetName : BIM タイプを持っているか確認したい属性セット名の文字列。 * bimType : BIM Type のグローバル名の文字列。 ; 戻り値 : 持っていれ…」)
 
(相違点なし)

2024年5月13日 (月) 07:41時点における最新版

構文
(bim:attributeset-bimtypes-has asetName bimType)


機能
属性セット asetName が BIMタイプ bimType (グローバルなローカライズされていない名前文字列)を持っているかどうかを返す。


引数
  • asetName : BIM タイプを持っているか確認したい属性セット名の文字列。
  • bimType : BIM Type のグローバル名の文字列。


戻り値
持っていれば T、それ以外は nil


Memo

  • 属性セット名は大文字と小文字を区別しない。
  • BIMタイプ文字列は大文字と小文字を区別する。


サンプル
(vl-load-bim)
(bim:create-attributeset "新館")
(bim:attributeset-bimtypes-has "新館" "BimDbWindow")
nil
(bim:attributeset-bimtypes-add  "新館" "BimDbWindow")
T
(bim:attributeset-bimtypes-has "新館" "BimDbWindow")
T

(bim:attributeset-bimtypes-has "新館" "BimDbDoor")
nil

関連事項