IFC data bloat in document.xml

This forum section is only for IFC-related issues
Post Reply
mikeprice99
Posts: 100
Joined: Sat Jun 27, 2020 9:06 am
Location: Dorset, England

IFC data bloat in document.xml

Post by mikeprice99 »

Is this desired behaviour?

In a project with several walls, doors and windows, I note that in the document.xml for each IFC element the IFCType field contains the full list of IFC types as a CustomEnumList (All 173 of them).

Also the IFCData field appears to contain an HTML list of attributes.

To see what I mean unzip a FreeCAD file and search the document.xml for "Actuator".


OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21826 (Git)
Build type: Release
Branch: master
Hash: 19d37ec5df63ca83d9ae20db6fc87f8ad913b8ab
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: IFC data bloat in document.xml

Post by yorik »

You are right, this is not good...
Maybe we should create another enum property type that stores its value in a separate file, that could be reused across instances...
Post Reply