mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-29 03:37:21 +00:00
emits * for derived entities instead of $
Validation service 0.6.4 started giving errors for entities with derived types where $ was used. The correct coding is *.
This commit is contained in:
@@ -1147,7 +1147,10 @@ std::string IfcEntityInstanceData::toString(bool upper) const {
|
|||||||
ss << ",";
|
ss << ",";
|
||||||
}
|
}
|
||||||
if (attributes_[i] == 0) {
|
if (attributes_[i] == 0) {
|
||||||
ss << "$";
|
if (type_->as_entity()->derived()[i])
|
||||||
|
ss << "*";
|
||||||
|
else
|
||||||
|
ss << "$";
|
||||||
} else {
|
} else {
|
||||||
ss << attributes_[i]->toString(upper);
|
ss << attributes_[i]->toString(upper);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user