mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Don't check for drawing semantics on qto or predefpset #7304
This commit is contained in:
@@ -496,6 +496,9 @@ namespace {
|
||||
for (auto& rel : *rels) {
|
||||
if (rel->declaration().is("IfcRelDefinesByProperties")) {
|
||||
auto pset = ((IfcUtil::IfcBaseClass*) ((IfcUtil::IfcBaseEntity*) rel)->get("RelatingPropertyDefinition"))->as<IfcUtil::IfcBaseEntity>();
|
||||
if (!pset->declaration().is("IfcPropertySet")) {
|
||||
continue;
|
||||
}
|
||||
std::string pset_name;
|
||||
if (!pset->get("Name").isNull()) {
|
||||
pset_name = (std::string) pset->get("Name");
|
||||
|
||||
Reference in New Issue
Block a user