mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 19:27:10 +00:00
Remove duplicate element quantity from XML #802
This commit is contained in:
@@ -305,11 +305,7 @@ ptree* descend(IfcSchema::IfcObjectDefinition* product, ptree& tree, IfcUtil::If
|
|||||||
IfcSchema::IfcPropertySetDefinition* pset = *it;
|
IfcSchema::IfcPropertySetDefinition* pset = *it;
|
||||||
if (pset->declaration().is(IfcSchema::IfcPropertySet::Class())) {
|
if (pset->declaration().is(IfcSchema::IfcPropertySet::Class())) {
|
||||||
format_entity_instance(pset, child, true);
|
format_entity_instance(pset, child, true);
|
||||||
}
|
} else if (pset->declaration().is(IfcSchema::IfcElementQuantity::Class())) {
|
||||||
if (pset->declaration().is(IfcSchema::IfcElementQuantity::Class())) {
|
|
||||||
format_entity_instance(pset, child, true);
|
|
||||||
}
|
|
||||||
if (pset->declaration().is(IfcSchema::IfcElementQuantity::Class())) {
|
|
||||||
format_entity_instance(pset, child, true);
|
format_entity_instance(pset, child, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user