mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +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) {
|
for (auto& rel : *rels) {
|
||||||
if (rel->declaration().is("IfcRelDefinesByProperties")) {
|
if (rel->declaration().is("IfcRelDefinesByProperties")) {
|
||||||
auto pset = ((IfcUtil::IfcBaseClass*) ((IfcUtil::IfcBaseEntity*) rel)->get("RelatingPropertyDefinition"))->as<IfcUtil::IfcBaseEntity>();
|
auto pset = ((IfcUtil::IfcBaseClass*) ((IfcUtil::IfcBaseEntity*) rel)->get("RelatingPropertyDefinition"))->as<IfcUtil::IfcBaseEntity>();
|
||||||
|
if (!pset->declaration().is("IfcPropertySet")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
std::string pset_name;
|
std::string pset_name;
|
||||||
if (!pset->get("Name").isNull()) {
|
if (!pset->get("Name").isNull()) {
|
||||||
pset_name = (std::string) pset->get("Name");
|
pset_name = (std::string) pset->get("Name");
|
||||||
|
|||||||
Reference in New Issue
Block a user