BIM.works .NET SDK

.NET SDK

  • Typed API
  • Multi-user, multi-threaded
  • Dogfooded by BIM Base
  • Documentation in IDE
var address = new Uri("https://bim.works");
var token = "<YOUR_API_TOKEN>";
using (BimWorksClientFactory factory = new BimWorksClientFactory(address))
{
    using (BimWorksClient client = factory.CreateClientWithApiToken(token))
    {
        Guid uuid = client.Fs.GetRootNode().Uuid;
        AsyncUploadTask uploadTask = client.Upload.UploadModel(new UploadBuilder(uuid).SetPath("Model.ifc"));
        UploadResponse uploadResponse = uploadTask.GetUploadResponse();

        client.Bim.Query(uploadResponse.treeNode.GetLastVersion().Uuid, "GET attribute.Name, attribute.GlobalId WHERE calculated.quantity.floorArea > 8m2");
    }
}
BIM.works Documentation

Documentation

All SDKs have extensive documentation. Click below to open the .NET SDK documentation.