JavaScript SDK
- TypeScript definitions
- Multi-user, multi-threaded
- Dogfooded by BIM Base
- Documentation in IDE
const address = "https://bim.works";
const factory = new BimWorksClientFactory(address);
const client = await factory.createClientWithApiToken("<YOUR_API_TOKEN>");
const versionUuid = "<VERSION_UUID>";
const query = "GET type, attribute.Name, property.Pset_WallCommon.IsExternal WHERE type = IFCWALL";
const results = await client.bim.query([versionUuid], query);
Other Features
NPM
Available as a set of NPM packages.
"dependencies": {
"@bimworks/jssdk": "2.0.6"
}Browser and Node.js
Works on any (mobile) browser and on Node.js.
Documentation
All SDKs have extensive documentation. Click below to open the JavaScript SDK documentation.