Update examples

This commit is contained in:
Thomas Krijnen
2025-08-27 10:21:45 +02:00
parent 0cd5c673c3
commit 5a06715843
5 changed files with 35 additions and 5 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ int main() {
// The IfcHierarchyHelper is a subclass of the regular IfcFile that provides several
// convenience functions for working with geometry in IFC files.
IfcHierarchyHelper<IfcSchema> file;
file.header().file_name().name("IfcAdvancedHouse.ifc");
file.header().file_name()->setname("IfcAdvancedHouse.ifc");
IfcSchema::IfcBuilding* building = file.addBuilding();
// By adding a building, a hierarchy has been automatically created that consists of the following