mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
Fix #2998
This commit is contained in:
@@ -333,6 +333,8 @@ class Geometry(blenderbim.core.tool.Geometry):
|
||||
"Curve",
|
||||
"Curve2D",
|
||||
"Curve3D",
|
||||
"Edge",
|
||||
"Face",
|
||||
"FillArea",
|
||||
"GeometricCurveSet",
|
||||
"GeometricSet",
|
||||
|
||||
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user