Object Manager
ObjectManager is responsible for storing the 3D Map Elements
ObjectManager is intended to be used for Read-Only operations, never try to change the values.
Retrieving Objects
Site
You can access the SiteObject using:
adsumWebMap.objectManager.site;
Buildings
Get all Buildings
You can access the BuildingObjects using:
// returns Map<int, BuildingObject>
adsumWebMap.objectManager.buildings;
You can also access them using SiteObject#buildings property
Get a Building by id
If you want to retrieve a specific BuildingObject by its id, you can use:
// returns BuildingObject or null
adsumWebMap.objectManager.getBuilding(id);
Floors
Get all Floors
You can access the FloorObjects using:
// returns Map<int, FloorObject>
adsumWebMap.objectManager.floors;
Get all Floors from a Building
You can access them using BuildingObject#floors property
// returns Set<FloorObject>
buildingObject.floors;
Get a Floor by id
If you want to retrieve a specific FloorObject by its id, you can use:
// returns FloorObject or null
adsumWebMap.objectManager.getFloor(id);
Spaces
Get all Spaces
You can access the SpaceObjects using:
// returns Map<int, SpaceObject>
adsumWebMap.objectManager.spaces;
Get all Spaces on a Floor
You can access them using FloorObject#spaces property
// returns Set<SpaceObject>
floorObject.spaces;
Get all Spaces on the Site
You can access them using SiteObject#spaces property
// returns Set<SpaceObject>
siteObject.spaces;
Get a Space by id
If you want to retrieve a specific SpaceObject by its id, you can use:
// returns SpaceObject or null
adsumWebMap.objectManager.getSpace(id);
Labels
Get all Labels
You can access the LabelObjects using:
// returns Map<int, LabelObject>
adsumWebMap.objectManager.labels;
Get all Labels on a Floor
You can access them using FloorObject#spaces property
// returns Set<LabelObject>
floorObject.labels;
Get all Labels on a Space
You can access them using SpaceObject#spaces property
// returns Set<LabelObject>
spaceObject.labels;
Get all Labels on a Building
You can access them using BuildingObject#spaces property
// returns Set<LabelObject>
buildingObject.labels;
Get all Labels on the Site
You can access them using SiteObject#spaces property
// returns Set<LabelObject>
siteObject.labels;
Get a Label by id
If you want to retrieve a specific LabelObject by its id, you can use:
// returns LabelObject or null
adsumWebMap.objectManager.getLabel(id);
Get By AdsumLocation
adsumWebMap.objectManager.getByAdsumLocation(adsumLocation);