Interested to see what we do in the cloud? Join us for one of our webinars!

Examples of usage

The following list includes a set of examples that demonstrate some applications of the toolkit.

Xbim.Essentials

See Xbim.Essentials library.

Basics

Example Description

Basic model operations

This example demos four basic functions of CRUD persistent storage (Create, Retrieve, Update and Delete).

Watch the log!

xbim uses Microsoft Logging Abstractions to log processing errors and warnings where exceptions are not appropriate.

Proper Wall in 3D

Quite a lot of work is involved with producing a single wall in IFC.

STEP to XML and Back Again

Converting between formats supported by the library.

Using LINQ for Optimal Query Performance

Depending on the syntax you use the code might be faster or slower.

Data extraction

This example shows how to extract data for your analytical purposes.

Advanced

Example Description

Insert Copy Function

Merging and deleting entities in IFC models is a non-trivial task because IFC is not a hierarchical structure. It is a complex structure with potential cyclic relations an bi-directional navigation.

Xbim.Geometry

See Xbim.Geometry library.

Basics

Example Description

Creating WexBIM File

Preparing a file for export to the web viewer for IFC.

Web UI

Example Description

Hello Building

Basic setup of the 3D web viewer

Safe Hello Building

Checking browser capabilities

Eventful Building

Listening to viewer events

Building Seen from Everywhere

Zooming and camera

Colourful Building

Changing visual styling and state

Pinpoint the View

Fix rotation origin to a product

Informational Overlay

How to place additional HTML info

Contribute more examples

If you have used xbim and feel that more documentation is needed, feel free to contribute to the documentation, we'd be happy to merge your Pull Request.

Want to stay updated on xbim news and developments?

Sign up for a newsletter

Some of the companies using xbim toolkit:

xbim ltd.