mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
black .
This commit is contained in:
@@ -157,7 +157,7 @@ class Usecase:
|
|||||||
count = 0
|
count = 0
|
||||||
for rel in self.settings["cost_item"].Controls:
|
for rel in self.settings["cost_item"].Controls:
|
||||||
for obj in rel.RelatedObjects:
|
for obj in rel.RelatedObjects:
|
||||||
#Only increment if not a resource
|
# Only increment if not a resource
|
||||||
if not obj.is_a("IfcConstructionResource"):
|
if not obj.is_a("IfcConstructionResource"):
|
||||||
count +=1
|
count += 1
|
||||||
quantity[3] = count
|
quantity[3] = count
|
||||||
|
|||||||
Reference in New Issue
Block a user