This article shows how to get the available areas using the Ubisense .NET API.
You should know the information in the following article:
Before you start, remember to:
Add the Ubisense references to your application
Create an
instance of the
Ubisense.UBuilding.Contents schema with instance name
build_contents_schema and connect to the schema as a client.
The
Ubisense.UBuilding.Contents.AreaProperties relation contains the basic properties of an area.
You can iterate over this relation using the
area_ or
name_ methods that
return unique indices. For example,
|
Alternatively, you can use the
get_area method or the
get_all_areas method of your
build_contents_schema instance. For example, use
get_all_areas as follows,
|
area_list now contains a
list of all the rows in the
Ubisense.UBuilding.Contents.AreaProperties relation.