This commit is contained in:
Jesusbill
2023-04-27 13:26:47 +02:00
parent 45afaba63e
commit 07745aa6bc
2 changed files with 4 additions and 0 deletions
@@ -333,6 +333,8 @@ class Geometry(blenderbim.core.tool.Geometry):
"Curve",
"Curve2D",
"Curve3D",
"Edge",
"Face",
"FillArea",
"GeometricCurveSet",
"GeometricSet",
+2
View File
@@ -378,6 +378,8 @@ class Model(blenderbim.core.tool.Model):
@classmethod
def get_usage_type(cls, element):
if element.is_a("IfcStructuralItem"):
return
material = ifcopenshell.util.element.get_material(element, should_inherit=False)
if material:
if material.is_a("IfcMaterialLayerSetUsage"):