Skip to main content
Question

How to write IFC Type Objects?

  • 12 January 2022
  • 4 replies
  • 98 views

I am trying to re-write an IFC file including its Type Objects.

 

The IFC reader can either output them as single IfcTypeObject feature type or as separate feature types (IfcWallType, IfcDoorType, etc). Reading the Type Objects works fine for me.

 

After manipulating the data, I would like to write them back into their relevant feature types, e.g. IfcDoor together with IfcDoorType, related through the ifc_type_object_id and ifc_unique_id attributes (I'm unsure how the unique IDs should be created but I simply used the UUIDGenerator where required) I also tried reading and re-writing the IfcTypeObject features.

 

However, the Type Objects seem to be missing from the outputs, giving me warnings like the below. If anyone could help out here?

 

IFC: Unable to write objects of type 'IfcWallType'

IFC: Unable to write objects of type 'IfcDoorType'

IFC: Unable to write objects of type 'IfcBeamType'

IFC: Unable to write objects of type 'IfcSpaceType'

IFC: Unable to write objects of type 'IfcWindowType'

IFC: Unable to write objects of type 'IfcSlabType'

IFC: Unable to write objects of type 'IfcMemberType'

IFC: Unable to write objects of type 'IfcRailingType'

4 replies

Userlevel 3
Badge +18

Answered in

 

Badge +2

can someone post a link that it is not broken please

Userlevel 5
Badge +36

hey @daveatsafe - do you know what the new link is or what the content was?

Userlevel 3
Badge +15

I have updated @daveatsafe ‘s original post with the fixed URL. 

 

Reply