Update ifcconvert

This commit is contained in:
Thomas Krijnen
2017-12-11 15:46:17 +01:00
parent c099234796
commit 322dec6fd0
4 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -576,7 +576,7 @@ namespace IfcGeom {
try {
IfcUtil::IfcBaseClass* ifc_entity = ifc_file->entityById(id);
instance_type = IfcSchema::Type::ToString(ifc_entity->type());
instance_type = IfcSchema::Type::ToString(ifc_entity->declaration().type());
if (ifc_entity->declaration().is(IfcSchema::Type::IfcRoot)) {
IfcSchema::IfcRoot* ifc_root = ifc_entity->as<IfcSchema::IfcRoot>();