bim:set-assigned-space


(bim:set-assigned-space  ename [name|object])

Assigns the specified entity to a particular 'Space' object, which can be defined by its string name or its entity.

Arguments

ename  the entity to query, as normal entity or as VLA object name

name  (string) the name of the space to assign to
or
object  (ename) the entity name of the space to assign to

Return

T if assignment was successful, NIL otherwise (i.e. specified space does not exist)

Example

(bim:set-assigned-space ent "Floor")  T
(bim:get-assigned-space ent)  "Floor"
(bim:get-assigned-space ent  T)  <Entity name: 81c45b50>

Remarks

important : the name of a space is not unique ! Unique identifiers are the GUID and also the "Number" of the space;
see (bim:get-assigned-space)



©  Bricsys NV. All rights reserved.