Questions tagged [xbim]

a toolkit for working with Building Information Modeling data for .NET developers. Use this tag to ask questions related building applications that use the XBIM open source toolkit to manage IFC, COBie or BCF data.

XBIM (http://docs.xbim.net/) is a set of .NET-based libraries to work with IFC building model files.

IFC is an ISO Standard and platform-neutral open file format for data exchange of building information. The XBIM toolkit supports STEP, IfcXml and IfcZip formats, and enables you to read and write the full schema of IFC2x3 and IFC4 (including support for the latest Ifc4 Addendum 2).

The wider XBIM toolkit contains additional repositories with libraries to read and write related Open BIM formats including COBie and BIM Collaboration Format (BCF)

In order to visualise 3D Geometries you will need to include the Xbim.Geometry package which provides full support for geometric, topological operations and visualisation.

The motivation behind XbimEssentials is to take away much of the complexity and 'heavy lifting' required to work with Open BIM file formats, so you can focus on creating software solutions without needing deep understanding of STEP/Express parsing, 3D graphics, allowing you to work at a higher level than the buildingSmart data model.

50 questions
3
votes
1 answer

How to get the material data of specific IfcElement

In the basic operations in the xbim examples https://docs.xbim.net/examples/basic-model-operations.html, it shows how to retrieve the single value properties of a specific IfcElement. Based on this I've tried to get the material data. I've written…
Frebeas
  • 33
  • 3
2
votes
1 answer

Getting all properties of object using Ifc2x3

I am trying to retrieve all the properties in every item stored in an IFC file, similar to what you see when you select an item in xbim explorer and you get all data such as Type, DefiningType, GlobalID and so on. The xbim docs contains a relevant…
sinsro
  • 192
  • 1
  • 10
2
votes
1 answer

How to retrieve geometry from IFC file using Xbim ? Or is there anyother alternative to this task?

I want to retrieve data from raw IFC file. I am trying this with Xbim. I am able to retrieve the elements but not able to get geometry specific data.I need location, boundingbox . Is is possible to do this with xbim ? Is there any alternative to…
2
votes
1 answer

How to properly change the XBim Standard wall colour in WPF

I was successful enough to add a new wall (IfcWallStandardCase) to an existing IFC model and display it in the DrawingControl3D - with the help from Proper Wall 3D sample from XBim Toolkit, here's my code of adding colour to the wall: //add color to…
Mikael M
  • 21
  • 4
2
votes
1 answer

cannot extract triangulated geometry from IFC using xBIM

I am trying to extract triangulated meshes of all geometries in an IFC file using this code I have already loaded the model with ifcstore.open... var context = new Xbim3DModelContext(model); context.CreateContext(); //var geometries =…
anirudh nandavar
  • 213
  • 2
  • 12
2
votes
2 answers

How to convert IFC file to OBJ File...?

I am trying to convert IFC file to OBJ and Reverse OBJ to IFC using C# .Net. If any body has any idea. Help me to achieve this functionality.
Mukesh
  • 118
  • 1
  • 12
1
vote
1 answer

.NET service crashes ONLY on Docker

I have a .NET 6 service that runs fine on my local Windows 10 machine. When I deploy it on Docker with a multi-stage Dockerfile that uses these images: mcr.microsoft.com/dotnet/aspnet:6.0-windowsservercore-ltsc2019 AS base …
1
vote
1 answer

XBIM Web Viewer - Calculate HTML position from WCS

I'm trying to put an overlay over the top face of the bounding box of selected object. What I'm doing is: 1- Get the vertices of the bounding box top face in WCS, from center point 2- Translate each vertices into point in HTML space 3- Put a div at…
user3648721
  • 157
  • 1
  • 1
  • 10
1
vote
1 answer

Get system with elements from a model

How do I get the elements in a HVAC system? I can access the list of the systems in a model with the following code: var systems = model.Instances.OfType(); This returns a list of all the systems in the model. How to access the elements…
Joni Turunen
  • 137
  • 1
  • 13
1
vote
1 answer

How do I create and manipulate a Table property for an IFC object using Xbim?

I am working off of the basic example for amending data (https://github.com/xBimTeam/XbimEssentials). The only thing I'm changing is within the code below, where I want to add an IfcPropertyTableValue instead of an IfcPropertySingleValue. This code…
1
vote
1 answer

How to create a simple IFC file given end points of the beam and a cross section

I want to create an IFC file which represents a beam. The inputs I have is 2 points and a cross section definition. The purpose is to view the shape of the beam. Can someone point me in the right direction. Does XBim have something which will enable…
1
vote
1 answer

How to reuse the same xBim code for Ifc2x3 and Ifc4

I am working on a project that requires parsing IFC files using xBim and I need support both Ifc2x3 and Ifc4. Most of the Ifc class names and their properties are same in Ifc2x3 and Ifc4, but in xBim's object model the same classes in Ifc2x3 and…
1
vote
1 answer

BCF file creation

I would like to create a BIM Collaboration File using the Xbim Toolkit. I'm having difficulty implementing xbimBCF due to my lack of programming experience. I was wondering if there any samples that could help me implement xbimBCF, please? Thank…
gallagrp
  • 33
  • 4
0
votes
0 answers

How to create element with arbitrary shape using xbim toolkit?

I just started using xbim library, but there are lack of manual. I've already checked some example like this. But there aren't enough to create elements I wanted. I would like to solve following problem as first step. Creating walls for simple…
0
votes
0 answers

A C# program using XBIM library that finds from IFC the closest space to a given point

I am using the following C# code to find space information to elements by coordinates. This is my first BIM program. It works well, but sometimes the points fall outside the room boundary. I need a program to find nearest space to these points. It…
Paul
  • 1
  • 1
1
2 3 4