Bim:set-roomassignedbuilding

提供:GizmoLabs - だいたい CAD LISP なサイト
構文
(Bim:set-roomassignedbuilding roomEntity building )


機能
roomEntityで指定されたBIMルームが割り当てられている建物名を返す。


引数


戻り値
割り当てられれば T それ以外なら nil。


memo.

  • (bim::create-room) および (bim::create-associativeroom) も参照。
  • BricsCAD V21以降は、"Spaces" オブジェクトでも動作する。
  • 建物名は大文字と小文字を区別する!


サンプル
(vl-load-bim)
(setq roomEnt1 (car (bim:get-allspaces)) )
(bim:set-roomassignedbuilding roomEnt1 "高級ホテル新館")
T
(bim:get-roomassignedbuilding roomEnt1)
"高級ホテル新館"
(bim:set-roomassignedstory roomEnt1 "高級ホテル新館" "24階")
T
(bim:get-roomassignedstory roomEnt1)
"24階"
(bim:set-roomdepartment roomEnt1 "スイート・ルーム")
T
(bim:get-roomdepartment roomEnt1)
"スイート・ルーム"

関連事項