Skip to main content
Question

How to write IFC Type Objects?

  • January 12, 2022
  • 4 replies
  • 216 views

ekkischeffler
Contributor
Forum|alt.badge.img+5

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

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • January 14, 2022

monitotier
Contributor
Forum|alt.badge.img+2
  • Contributor
  • July 16, 2024

can someone post a link that it is not broken please


mark2atsafe
Safer
Forum|alt.badge.img+46
  • Safer
  • July 19, 2024
daveatsafe wrote:

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


LizAtSafe
Safer
Forum|alt.badge.img+15
  • Safer
  • July 23, 2024

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

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings