Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 1.76 KB

File metadata and controls

48 lines (28 loc) · 1.76 KB

Build Status (master branch): Build Status

Build Status (develop branch): Build Status

Xbim.BCF - A .net BCF library

What is it?

This library is an implementation of the BuildingSMART (BCF-XML format)[https://github.com/BuildingSMART/BCF-XML/tree/release_3_0/Documentation] for .net. It supports BCF2.0 and 2.1.

XbimBCF is part of the Xbim Toolkit, but this library can be used independently of the Essentials BIM libararies.

Usage:

var bcfZipData = File.OpenRead("yourfile.bcfzip");
var bcf = Xbim.BCF.BCF.Deserialize(bcfZipData);

foreach(var topic in bcf.Topics)
{
   // Access the visualisations, comments etc        
}

In order to create a BCF, you will need to instantiate various objects to form the BCF object. Please look in Xbim.BCF.Tests.BCFTestsXMLHelper to see examples of each object (which will vary depending on your usage). Once created, call BCF.Serialize() to get a stream of your BCF file.

Getting Started

We recommend Visual Studio 2019 (or later) or Visual Studio Code to build the solution.

Licence

This XBIM library is made available under the CDDL Open Source licence.

Support & Help

For bugs, please raise an Issue in Github.

Getting Involved

Please raise an issue ahead of any PR.