The short version
- The problem it solves: coordination issues ("this wall has no fire rating", "this duct clashes with that beam") get lost in emails and screenshots, and the person fixing them often uses different software from the person who found them.
- What BCF does: it packages each issue with the camera position, a snapshot and the IFC
GlobalIds of the affected elements. Any tool that supports BCF can open the issue and jump to the same elements in its own copy of the model. - Why it is light: the model itself is never sent, only references to it. Issue files are usually a few kilobytes.
- Who maintains it: BCF was developed by Tekla and Solibri and later adopted by buildingSMART International, where the Open CDE working group develops it. Versions 2.1 and 3.0 are both in use.
Two ways to exchange BCF
| BCF-XML (file) | BCF API | |
|---|---|---|
| Form | A zip archive of XML files, usually with a .bcf or .bcfzip extension | A RESTful web API |
| How issues move | Exported from one tool and imported into another, like any file | Tools read and write issues on a shared server directly |
| Good for | Sending a batch of issues, archiving, tools without a shared server | Live coordination through a common data environment, without import and export steps |
What a BCF issue contains
Each issue is a topic. A topic has:
- Markup: title, description, type (for example Issue, Request, Clash), status, priority, labels, the person assigned, a due date, the stage, and links to related topics and documents.
- Comments: the discussion, each with an author and date, optionally tied to a viewpoint.
- Viewpoints: a camera (perspective or orthogonal), clipping planes, and the components to select, hide or colour, identified by their IFC
GlobalId. - Snapshots: an image of each viewpoint, so the issue can be understood without opening a model.
In a BCF-XML file, each topic is a folder named by its GUID, holding markup.bcf, one .bcfv file per viewpoint and any snapshots. The archive also contains bcf.version and project information.
What it looks like in code
This script uses bcf-client, the BCF library from the IfcOpenShell project
(pip install bcf-client), to raise an issue about the partition wall that failed the
IDS check, save it as a BCF 3.0 file, and read it back as another tool would.
"""Raise an issue on an IFC element as a BCF 3.0 file, then read the file back.
Run ifc_create_and_read.py first: it writes demo.ifc.
"""
import uuid
from datetime import datetime, timezone
import ifcopenshell
import numpy as np
from bcf.v3.bcfxml import BcfXml
from bcf.v3 import model as bcf_model
model = ifcopenshell.open("demo.ifc")
wall = next(w for w in model.by_type("IfcWall") if w.Name == "Partition wall")
# --- Create a BCF file with one topic (issue) ---
bcf = BcfXml.create_new(project_name="Demo project")
topic = bcf.add_topic(
title="Partition wall has no fire rating",
description="Pset_WallCommon.FireRating is missing. Add the rating from the fire strategy.",
author="[email protected]",
topic_type="Issue",
topic_status="Open",
)
# A viewpoint stores a camera and the IFC GlobalIds of the elements it is about.
viewpoint = topic.add_viewpoint_from_point_and_guids(np.array([0.0, 0.0, 0.0]), wall.GlobalId)
# A comment, linked to that viewpoint.
topic.topic.comments = bcf_model.TopicComments(comment=[
bcf_model.Comment(
guid=str(uuid.uuid4()),
date=datetime.now(timezone.utc).isoformat(),
author="[email protected]",
comment="Fire strategy requires REI 30 for this partition.",
viewpoint=bcf_model.CommentViewpoint(guid=viewpoint.visualization_info.guid),
)
])
bcf.save("issues.bcf")
# --- Read it back, as another BIM tool would ---
bcf = BcfXml.load("issues.bcf")
print("BCF version:", bcf.version.version_id)
for guid, handler in bcf.topics.items():
t = handler.topic
print(f"[{t.topic_status}] {t.title} (by {t.creation_author})")
for comment in handler.comments:
print(f" comment: {comment.comment}")
for vp in handler.viewpoints.values():
selected = vp.visualization_info.components.selection.component
print(" viewpoint selects:", [c.ifc_guid for c in selected]) BCF version: 3.0
[Open] Partition wall has no fire rating (by [email protected])
comment: Fire strategy requires REI 30 for this partition.
viewpoint selects: ['3V_OYeitj4PQ$ZX3WASmka'] The saved file is a zip archive with this layout (the GUIDs differ on every run):
project.bcfp
bcf.version
extensions.xml
4d60b187-98b6-4b5f-a93f-673ef3c639b5/
4d60b187-98b6-4b5f-a93f-673ef3c639b5/markup.bcf
4d60b187-98b6-4b5f-a93f-673ef3c639b5/c64f10ed-b405-4159-a737-40b69414e89a.bcfv This example has no snapshot image because it runs without a 3D viewer. Viewers and authoring tools add one automatically when you create an issue on screen.
Things to check before you rely on BCF
- Version support: confirm that every tool in the chain reads and writes the same BCF version (2.1 or 3.0).
- Stable GlobalIds: BCF finds elements by
GlobalId. If an authoring tool assigns new IDs on every IFC export, issues can no longer find their elements. - Shared statuses: agree on the statuses and types your project uses, so a "Closed" in one tool means the same in another.