mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Sorry forgot to commit
This commit is contained in:
+1
-1
@@ -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"])
|
pset = ifcopenshell.api.run("pset.add_pset", ifc_file, product=element, name=prop["propertySet"])
|
||||||
if prop["dataType"] == "boolean":
|
if prop["dataType"] == "boolean":
|
||||||
predefinedValue = predefinedValue == "TRUE"
|
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 ifcopenshell
|
||||||
import blenderbim.bim.schema # TODO: refactor
|
|
||||||
|
|
||||||
|
|
||||||
class Usecase:
|
class Usecase:
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
import blenderbim.bim.schema # TODO: refactor
|
|
||||||
|
|
||||||
|
|
||||||
class Usecase:
|
class Usecase:
|
||||||
def __init__(self, file, **settings):
|
def __init__(self, file, **settings):
|
||||||
self.file = file
|
self.file = file
|
||||||
|
|||||||
Reference in New Issue
Block a user