bim:get-room


(bim:get-room  roomName  [building  [story]])

This functions returns the "room entity" for the specified room name, optionally for given building and story.

Arguments

roomName  name of the room (string)

building  (optional) name of the building (string) to retrieve all rooms from

story  (optional) name of the building (string) to retrieve all rooms from

Return

the room entity if successful, or NIL if no such room exists

Example

(bim:get-room "Room-1a")  T
(bim:get-room "Room-1a" "Building 1")  T
(bim:get-room "Room-1a" "Building 2")  NIL
(bim:get-room "Room-1a" "Building 1" "Floor-1")  T
(bim:get-room "Room-1a" "Building 1" "Floor-2")  NIL

Remarks

all string names are case-sensitive !



©  Bricsys NV. All rights reserved.