Skip to main content
POST
Import an IFC, .bimcraft, DXF or Revit (.rvt) file as a candidate document (BC4)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
format
enum<string>
required
Available options:
ifc,
bimcraft,
dxf,
rvt
blob
string

TL3c: a blob id (b3:<64 hex>: an upload's blob_id, an attachment's blob) holding the file, instead of text or bytes_base64: read as the caller under the read gate (a blob the caller may not read answers 404 BLOB_NOT_FOUND, as an absent one) and imported exactly as if its contents were sent inline. Give one of the two (both: 400 FILE_GIVEN_TWICE).

bytes_base64
string
key
string

A document key, b3:<hex>: the blob store's id for the canonical bytes

name
string
params
object
text
string

Response

OK

before
string

A document key, b3:<hex>: the blob store's id for the canonical bytes

candidate
boolean
document
object
elements
object
format
string
key
string

A document key, b3:<hex>: the blob store's id for the canonical bytes

left_out
string[]
left_out_count
integer
ports
object

MEP5, an IFC file only: its IfcDistributionPorts and IfcRelConnectsPorts as read (ss.mep.ports/1). given names the families whose components carry the same ports in their own axes and so got them as connectors; findings lists each IMPORTED_LINK_NOT_TOUCHING, a link the file claims whose two ports are farther apart than 1 mm (the model joins only what touches, so they are not connected); left_out says what was not read and why. Ports past 200,000 or links past 200,000 are left out by name and the import goes on

reply
object
schema
string
skipped
string[]