Methods
Space
getSpaces
returns the list of spaces by default returns spaces for the active building if applicable otherwise returns all spaces example usage const options = { all true }; const spaces = viewer2d getspaces(options); parameters options options for getting spaces true 330,331left unhandled content type left unhandled content type left unhandled content type left unhandled content type properties true 131,130 36290322580646,105 73628301335152,293 900813760842left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type return value list of spaces true 661left unhandled content type left unhandled content type space true 167,183 43990929705214,310 56009070294783left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type boundingbox true 220,129,312left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type example \[ { boundingbox { height 10, width 5, x 0, y 0 }, buildingid "0 rp9o7e4sjl", guid "3gw3qktyubthlitx3qsry2", id "2772343120", longname "central waiting", modelid "0 vo5kl3grto", name "1e16", storey "first floor", storeyid "2776467125" } ];