mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
add_qto.py: MethodOfMeasurement=BaseQuantities to comply with spec text
This commit is contained in:
@@ -123,4 +123,5 @@ class Usecase:
|
|||||||
GlobalId=ifcopenshell.guid.new(),
|
GlobalId=ifcopenshell.guid.new(),
|
||||||
OwnerHistory=ifcopenshell.api.owner.create_owner_history(self.file),
|
OwnerHistory=ifcopenshell.api.owner.create_owner_history(self.file),
|
||||||
Name=self.settings["name"],
|
Name=self.settings["name"],
|
||||||
|
MethodOfMeasurement="BaseQuantities" if self.settings["name"].endswith("BaseQuantities") else None,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user