Class BimApi
java.lang.Object
nl.bimbase.bimworks.client.apis.SubApi
nl.bimbase.bimworks.client.apis.BimApi
BIM related API calls, mostly different ways of querying the stored models.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ArrayNodelistBuildingStoreys(Set<UUID> versionUuids) List all the building storeys of the given modelscom.fasterxml.jackson.databind.node.ArrayNodeExecute a query on the given modelscom.fasterxml.jackson.databind.node.ArrayNodeExecute a query on the given modelscom.fasterxml.jackson.databind.node.ArrayNodenl.bimbase.bimworks.ResolvedActionsresolveBvl(String input, Set<UUID> versionUuids) Resolve a BIM.works Visualization Language (BVL), in developmentvoidsetDiscipline(UUID versionUuid, nl.bimbase.bimworks.common.actions.Discipline discipline) Set the discipline of the given modelbooleanMethods inherited from class SubApi
getBimWorksClient
-
Constructor Details
-
BimApi
-
-
Method Details
-
query
public com.fasterxml.jackson.databind.node.ArrayNode query(String query, Set<UUID> versionUuids) throws BimWorksException, InterruptedException Execute a query on the given models- Parameters:
query- The query, serialized using the BQL formatversionUuids- Set of UUID representing the models/Versions to query- Returns:
- An ArrayNode with the results. This is untyped because the shape of the results depend on the query
- Throws:
BimWorksExceptionInterruptedException
-
validate
-
resolveBvl
public nl.bimbase.bimworks.ResolvedActions resolveBvl(String input, Set<UUID> versionUuids) throws BimWorksException, InterruptedException Resolve a BIM.works Visualization Language (BVL), in development- Parameters:
input-versionUuids-- Returns:
- Throws:
BimWorksExceptionInterruptedException
-
query
public com.fasterxml.jackson.databind.node.ArrayNode query(String query, UUID... versionUuids) throws BimWorksException, InterruptedException Execute a query on the given models- Parameters:
query- The query, serialized using the BQL formatversionUuids- One or more UUID representing the models/Versions to query- Returns:
- An ArrayNode with the results. This is untyped because the shape of the results depend on the query
- Throws:
BimWorksExceptionInterruptedException
-
setDiscipline
public void setDiscipline(UUID versionUuid, nl.bimbase.bimworks.common.actions.Discipline discipline) throws BimWorksException Set the discipline of the given model- Parameters:
versionUuid- UUID of the Versiondiscipline- The discipline- Throws:
BimWorksException
-
listBuildingStoreys
public com.fasterxml.jackson.databind.node.ArrayNode listBuildingStoreys(Set<UUID> versionUuids) throws InterruptedException, BimWorksException List all the building storeys of the given models- Parameters:
versionUuids-- Returns:
- Throws:
InterruptedExceptionBimWorksException
-
query
public com.fasterxml.jackson.databind.node.ArrayNode query(UUID queryUuid, Set<UUID> versionUuids) throws BimWorksException, InterruptedException
-