70002772 Improve performance of IFC openning

Article 70002772
Type Wish
Product vdIFC
Date Added 10/9/2025 12:00:00 AM
Fixed 11.5.1 (10/9/2025 12:00:00 AM)
Submitted by Claude UZAN

Summary

When IFC file contains too many walls with complex openings (holes) inside, the performance is slow

Solution

VDF doing many clipping calculations of holes (windows/doors) inside walls and so it takes too much time to open it.
In version 11.5.1 a new property IFCImportProperties of vdDocument.FileProperties was added
Get/Set the IFC import properties used when opening a IFC file.
It can get one or more of the following values

IFCImportPropertiesFlags.Default (None extra flags used.)

IFCImportPropertiesFlags.IgnoreOpenningHoles
When is set IFC open ignores the hole calculations (windows, doors etc) over the wall object.
The opennings are hidden inside owner walls.
The Open of the IFC will be faster and the information of (doors, windows) will be available to the user.

Default value is IFCImportPropertiesFlags.Default

Example

VdDocument doc;
doc.FileProperties.IFCImportProperties = IFCImportPropertiesFlags.IgnoreOpenningHoles;
doc.Open("somefile.ifc");

Send comments on this topic.