Compare two models with a BCOL definition. The result is stored on the server: the same compare again is answered from the store (CompareResult.cached).
Compares two chosen objects as a pair, by default with the built-in "everything" definition.
Takes a pair fixed by hand away again
Download a Version converted to another IFC schema. The only supported conversion is IFC2X3 to IFC4. A target schema that the model already has is no error: the result then has no conversion.
The UUID of the Version
The schema to convert to, for example "IFC4"
Optionaloptions: { validate?: boolean }validate: hold the converted file against the schema check before it is served
A stored compare result as a download; resolves to a URL valid for a limited time.
Optionalformat: "json" | "xlsx" | "csv" | "bcf"Optionalcategories: string[]Export an IFC file from one or multiple models. Optionally a query can be applied.
The Version UUIDs of the models you want to export
Optionalquery: stringAn optional query to be applied
A Promise that resolved to a URL, from which the export can be downloaded (limited lifetime)
As Ifc.exportIfc, filtering with a BVL script instead of a query; resolves with the download URL
The changes between two versions as BUL on the left one, verified by a dry run (docs/upload-diff-design.md §14)
Read a stored compare result, or its status while it is computed.
Optionaloptions: CompareOptionsPer removed object of a stored compare, the added objects that could be it, best first
Optionaloptions: {The log of a schema conversion. Reads a log, converts nothing.
The UUID of the Version
OptionaltargetSchema: stringOnly for a converted download, the schema it was converted to
Optionalformat: "json" | "markdown""json" (default) or "markdown"
The pairs fixed by hand for two versions
Maps objects of one version to their counterparts in another, for re-pointing stored references.
Replaces an upload by a transaction with the same changes on the version before it; the new version takes the upload's number
Optionalcomment: stringLinks two objects as one, or confirms an object as really removed or added, for every compare of the two versions
What changed in versions since the versions before them (the built-in Default compare with the predecessor).
Optionaloptions: { onlyStored?: boolean }
API Namespace Ifc is used for IFC related API calls.