mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 14:31:39 +00:00
Update ifcconvert
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user