Bim:set-description

提供:GizmoLabs - だいたい CAD LISP なサイト
2023年3月14日 (火) 04:02時点におけるGizmon (トーク | 投稿記録)による版 (ページの作成:「{{BCAD_LISP_BIM}} ; 構文 : (Bim:set-description ''ename'' ''description'') ; 機能 : 指定された entity に BIM オブジェクト説明文字列を割り当て…」)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
構文
(Bim:set-description ename description)


機能
指定された entity に BIM オブジェクト説明文字列を割り当てます。


引数
  • ename : BIM名前プロパティをセットしたいエンティティ(ename or VLAオブジェクト)
  • description :エンティティにセットする説明の文字列 (空文字 "" も可)


戻り値
オブジェクトにBIM説明プロパティがセットできたら T 、それ以外は nil。


サンプル
(vl-load-bim)
(setq ent (car (entsel)))
(bim:get-name ent)
"一階玄関土間"

(bim:set-description ent "あれ")
T
(bim:get-description ent)
"あれ"
(bim:set-description ent "あれじゃわからんだろあれじゃぁ")
T
(bim:get-description ent)
"あれじゃわからんだろあれじゃぁ"


関連事項