Sorry forgot to commit

This commit is contained in:
Dion Moult
2021-04-29 19:37:59 +10:00
parent 37e3a65ffb
commit fd83564af0
3 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -176,4 +176,4 @@ def apply_ifc_classification_properties(ifc_file, element, classificationPropert
pset = ifcopenshell.api.run("pset.add_pset", ifc_file, product=element, name=prop["propertySet"])
if prop["dataType"] == "boolean":
predefinedValue = predefinedValue == "TRUE"
ifcopenshell.api.run("pset.edit_pset", pset=pset, properties={prop["name"]: predefinedValue})
ifcopenshell.api.run("pset.edit_pset", ifc_file, pset=pset, properties={prop["name"]: predefinedValue})
@@ -1,5 +1,4 @@
import ifcopenshell
import blenderbim.bim.schema # TODO: refactor
class Usecase:
@@ -1,6 +1,3 @@
import blenderbim.bim.schema # TODO: refactor
class Usecase:
def __init__(self, file, **settings):
self.file = file