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
0
votes
0 answers

Ugly shading in Xbim

I'm developing a software that can display 3D IFC building models. I'm using Xbim, and Helix toolkit for that. I managed to display the geometry correctly, but there is something off with the shading as far as I can tell. Can I alter the…
0
votes
0 answers

XBIM - IFC to Wexbim File Conversion Problem

I am trying to integrate XBIM Web UI in to our application. We have IFC files in the local file system. We convert these IFC files to WexBIM format to display them in the browser (via XBIM Web UI). As far as I see XBIMv4 supports IFC versions 2x3…
0
votes
1 answer

No IFC projects found in file in IFC file created by xbim toolkit

I've refered a "HelloWall" sample program from XBim samples. The output IFC file seems to be ok. but when I try to open that IFC file in Autodesk Navisworks it gave me following error - General ERROR: There were no IfcProjects found in the file.…
Sush
  • 18
  • 3
0
votes
1 answer

Select IFC Physical Simple Quantity of Wall

I'm using XBim IFC libraries in order to get some info of a Building model elements. Specifically, of IfcWall entities. I have to acces Wall Base Quantities (lenght, height, width, etc.) but I cant reach those properties from IfcWall class. I have…
0
votes
0 answers

How to stop xBim IfcStore.Open() operation?

I have a simple question - is it possible to stop/cancel xBim var model = IfcStore.Open(...) method once it has started to create database? I have wrapped it in Task.Run like this to keep my app responsive, but of course cancellationTokenSource…
niks
  • 579
  • 1
  • 3
  • 14
0
votes
1 answer

How to make a simple 3D Ifc Viewer in WPF with Xbim v2

I am trying to make a small 3d viewer in VS2019 - are there any tutorials on XBim I have searched and cant find anything, I have seen this post How to make a simple 3D Ifc Viewer in WPF with Xbim I need a turorial as I have put the refrences for…
0
votes
1 answer

Get object with the GloabId

Is it possible to find an object in an IFC file using Xbim.Essentials with the GlobalId value? I saw this kind of code supposing I know the type...But I'd like to first find the object without knowing the type. var id = "2AswZfru1AdAiKfEdrNPnu"; var…
SONA
  • 1
  • 2
0
votes
1 answer

How to make a simple 3D Ifc Viewer in WPF with Xbim

I’m a C# and a WPF beginner and I’m trying for days to make an Ifc Viewer in my app. I tried many ways to do it but I did not succeed and I turn around. I got inspired by an other topic on the forum : “How to use Xbim in WPF to visualise an .IFC in…
Nzeh
  • 9
  • 2
0
votes
0 answers

Adding a wall with an opening Xbim

I am looking to adjust the template project to add an opening for the door so the door will be flush with the wall system instead of appearing embedded in the skin of the wall any help would be very appreciated. using System; using…
0
votes
1 answer

Wexbim Files in Razor Pages

I am working on a razor pages project that needs to view IFC files, so I converted the IFC file into Wexbim files to use the XbimWebUi library. My problem is when I use the Wexbim file from wwwroot I get this error "Uncaught Failed to fetch binary…
0
votes
1 answer

Get TotalThickness value of IFCWALL element

How can I get the TotalThickness value of IFCWALL element using Xbim.Ifc2x3? As I can see it is contained in wallElement.Material=>ForLayerSet=>TotalThickness or in wallElement.IsTypedBy=>Material=>TotalThickness but when I try to access it by code…
Yula k
  • 5
  • 1
0
votes
1 answer

IfcRoof won't work without own ShapeRepresentation

I've tried to create a flatroof with an IfcSlab. The IfcRoof is supposed to be decomposed by the IfcSlab. I created the slab with a ShapeRepresentation and gave it coordinates. BuidlingSMART is saying that I don't need a ShapeRespresentation for my…
MuLa
  • 1
0
votes
1 answer

Different results for the same code with different Ifc versions

When I run the code below to get ifcWindow Area quantity using Ifc4 file and Xbim.Ifc4 interfaces it works perfectly. But, When I'm trying to run on the same schema as Ifc2x3 file and using Xbim.Ifc2x3 interfaces it doesn't recognize…
Yula k
  • 5
  • 1
0
votes
1 answer

Get FinishFloorHeight of IfcSpace using Xbim

I'm trying to get the FinishFloorHeight of IfcSpace using Xbim. Any idea of how to do that?
Yula k
  • 5
  • 1
0
votes
2 answers

How to use Xbim in WPF to visualise an .IFC in 3D

I'm trying to learn how to use Xbim in a WPF app to create a 3D view of a model that the user can spin around and view. I load my ifc file in the C# code as follows: var model = IfcStore.Open("Images/test.ifc"); var context = new…