Models

Upload, find, download, change, compare, delete and restore models in the tree of nodes and versions, with every SDK and over HTTP.

BIM.works keeps models in a tree: folder nodes contain model nodes, and every upload of a model adds a version to its node. Queries, viewers and checks work on versions; uploads, listings and deletions work on nodes. The tree you see starts at the root node of your credential, see Authentication.

The guides in this section are the file-system half of an integration:

Which file types can be uploaded and how each becomes nodes and versions is in File types; the concepts are in Nodes, versions and the tree.

Pages#

  • Upload a modelUpload a model from a file or a stream into a folder, follow the progress, and find the version it created.
  • Upload models concurrently from .NETUpload a batch of models with one .NET client so the server checks them in at the same time, wait for all of them, read each result, and know what may run on which thread.
  • Upload from a URLLet BIM.works download a model straight from cloud storage with a pass-through URL, and when to download it yourself instead.
  • List the treeFind the root node, list a folder, walk a subtree, and look a node up by path or by one of its versions.
  • Create a folderCreate a folder node under a parent, or get the existing one, in every SDK and over HTTP.
  • Download a modelDownload the original file of a version, the same model as ifcXML or converted to IFC4, or a whole folder as a zip archive.
  • Export to glTFExport a model, or the objects a BQL condition selects, as binary glTF (GLB) for three.js, Blender, game engines and AR viewers; what is in the file, the one-time download URL, several models in one file, and exporting through a versions token.
  • Change a model with BULSend BUL statements to CommitTransaction to change property values, move, rotate or delete objects, try them first as a dry run, and get the new version they create.
  • Compare two versionsCompare a version with the one before it from code, read the categories, the similar changes and a shared move, follow objects to the new version, and turn an upload's changes into BUL.
  • Delete and restore a nodeSoft-delete a node so it disappears from listings, and restore it later; what cannot be deleted and when a restore fails.