This commit is contained in:
David Kekesi
2024-11-07 11:08:56 +01:00
parent ea103f3849
commit a330baf5da
@@ -110,11 +110,10 @@ namespace {
return std::make_unique<Slab>(elementData, tableID);
case API_WallID:
return std::make_unique<Wall>(elementData, tableID);
case API_ObjectID: {
case API_ObjectID:
// POC: change this case once we are ready to convert Grid Elements
if (elementData.header.type.variationID == APIVarId_GridElement)
return nullptr;
}
default:
return std::make_unique<GenericModelElement>(elementData, tableID);
}