Skip to main content
Question

How to add IFC property

  • 2 August 2024
  • 4 replies
  • 45 views

Hello to all,

I need to add a missing property into an existing Pset. I tried the workbench shown by Liz in the post “Updating IFC example” but it doesn’t work in my case. Before testing with an Excel sheet contaning GUID and properties to add, I just test to add manually a single property:

First, I created 2 attributes:

Then I used the GeometryPropertySetter:

With the XQuery:

I find my previous properties in the “Proprietes” Pset, but I don’t have the new one “TypeVitrage”. Did I forget something or do I have to use “IfcPropertySetDefinitionCreator” ? 

Thank in advance

Best regards

Bruno

Hi @bruno,

I think you need to disconnect the top stream, which is sending an unchanged copy of your data to the writer as well.

If you would like to share a copy of your source IFC file, I can help adjust the workspace for the best results.


Hi Dave,

Thank for your answer. As proposed, I removed the top stream but nothing changes. I still don’t have the “TypeVitrage” property for each Window. I attached my IFC file …

Thank in advance

Best regards

Bruno


Hi bruno

Writing IFC is very complex. I used the tutorial from FME support site to build my workbenches.

This pages is a collection of some BIM-themed workbenches: https://support.safe.com/hc/en-us/articles/25407429026829-BIM-Tutorial

 

IHMO this ist the best example for beginners:

https://support.safe.com/hc/en-us/articles/25407715698317-AutoCAD-to-IFC-Conversion-Example


Hi Thomas,

Thank for your links. I was inspired by the last one (AutoCAD to IFC conversion) which I modified to obtain the attached workbench. I managed to add a property “NatureVitrage” into the existing property set “Proprietes” for all the windows. But all other existing properties contained into the property set “Proprietes” have been removed. On other hand, all the existing property set “Proprietes” attached to other objects (wall, doors, etc.) have also been removed, and I also lost the window’s geometry.

Does anyone have an idea ?

Best regards

Bruno


Reply