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("fckR7c1xn");
const versionUuid = "1515";
const query = "GET type, attribute.Name, property.Pset_WallCommon.IsExternal 
WHERE type = IFCWALL";
const results = client.bim.query([versionUuid], query);

Other Features

NPM

Available as a set of NPM packages.

"dependencies": {
  "@bimworks/jssdk": "1.3.10",
}

Browser and NodeJS

Works on any (mobile) browser and on NodeJS.

BIM.works Documentation

Documentation

All sdks have extensive documentation, click below to go to the documentation for the JavaScript/TS SDK