Fix examples mostly

This commit is contained in:
Thomas Krijnen
2026-01-07 13:51:48 +01:00
parent 572a5655cf
commit f2f4d626a5
13 changed files with 545 additions and 574 deletions
+3 -1
View File
@@ -1975,6 +1975,7 @@ express::Base IfcFile::addEntity(const express::Base& entity) {
entity_file_map_.insert(entity_entity_map_t::value_type(entity.identity(), new_entity));
// For subtypes of IfcRoot, the GUID mapping needs to be updated.
/*
if (decl->is(*ifcroot_type_)) {
try {
const std::string guid = new_entity.get_attribute_value(0);
@@ -1988,8 +1989,9 @@ express::Base IfcFile::addEntity(const express::Base& entity) {
Logger::Message(Logger::LOG_ERROR, ex.what());
}
}
*/
add_type_ref(new_entity);
// add_type_ref(new_entity);
return new_entity;
}