Constructor to initialize the metadata accessor.
Gets the geolocation data of a model.
OptionalmodelId: Int64The model ID (optional).
The geolocation data of the model.
Gets the memberships of a model.
The model ID.
An array of membership data.
Gets the aggregated property values of elements.
The element IDs.
The properties to aggregate.
Whether to include only visible elements (default: true).
An array of aggregated property values.
Gets the bulk data of elements.
The element IDs, if null all elements are considered.
Whether to include only visible elements (default: true).
Whether to aggregate properties (default: false).
The bulk element data.
Checks if the current scene's database exists
True if the database exists, false otherwise
Creates or loads a database for the current models in the scene
the name of the database stored in the browser indexDB
Checks if the database is initialized
whether the database is created
Creates a new database for storing BIM model data
Optionaloptions: DatabaseOptionsOptional database configuration options
Erases the current database and creates a new empty one
Persists the current database to browser storage
Lists all stored database names in browser storage
Array of database names
Checks if a database is stored in browser storage
Name of the database to check
True if the database is stored, false otherwise
Loads a previously stored database from browser storage
Name of the database to load
Deletes a stored database from browser storage
Name of the database to delete
Exports the modelId to the database
OptionalmodelIds: Int64[]IDs of the model to export (if null exports all models)
Executes a SQL query on the database
Optionalparams: SqlValue[]Executes an update query on the database
Optionalparams: SqlValue[]Gets the database manager instance
Exports the database to a file
Imports a database from a file
Downloads the SQLite database to the browser as a .sqlite file
Downloads an optimized SQLite database to the browser as a .sqlite file This includes VACUUM and ANALYZE for minimal file size
Class to access BIM CT Design Models Metadata like Tree Structure, Element Properties, etc.