DataLab queries
DataLab is a powerful API you can utilize to perform complex queries, and later actions against those queries.
Here we'll run through a few common queries you might want to perform.
Basic query / Entity Type criteria
Here is an example of the most basic query you can perform, this is a query for a page of Entities from a specific Entity Type.
DataLab query | Entity Type
Criteria: Attributes
Here is how you can add an attribute criteria to your query.
DataLab query | Entity Type + attribute
Criteria: Tags
DataLab query | Entity Type + Tags
Criteria: User
DataLab query | Entity Type + User
Criteria: LOD
As assemblies can include Entities that act as groups without a visual representation, this is commonly used to narrow down an assembly's Entities into just those that can be seen.
DataLab query | Entity Type + LOD
Criteria: Assembly
This is a criteria for finding Entities that are part of a specific assembly. You specify the root Entity ID and all Entities (including the root) are included.
WARNING: You cannot perform 'OR' logic operators with this criteria at this time.
DataLab query | Assembly
Criteria: List assemblies
This is a criteria for finding assembly root Entities. These Entities' IDs are typically used to generate Tilesets (optimized graphics for rendering), and to search against hierarchies generated from a file import (IFC/RVT/etc).
DataLab query | Assembly
Criteria: Reference to another DataLab query
You can perform an IN search against an attribute in another query.
For example, "Find all Work Order Entities that have a 'status' value in my "Valid Work Order status" query".
DataLab query | Assembly
Criteria: '()' groups
Below is an example of how you can use '()' groups to help portion your criteria.