This commit is contained in:
Andrej730
2024-06-03 16:48:14 +05:00
parent 3d566cc401
commit 70091aa28b
4 changed files with 20 additions and 6 deletions
@@ -29,6 +29,7 @@ import subprocess
import numpy as np
import multiprocessing
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.ifcopenshell_wrapper
import ifcopenshell.geom
import ifcopenshell.util.selector
+2 -2
View File
@@ -725,11 +725,11 @@ class Geometry(blenderbim.core.tool.Geometry):
return False
@classmethod
def should_use_presentation_style_assignment(cls):
def should_use_presentation_style_assignment(cls) -> bool:
return bpy.context.scene.BIMGeometryProperties.should_use_presentation_style_assignment
@classmethod
def get_model_representations(cls):
def get_model_representations(cls) -> list[ifcopenshell.entity_instance]:
return tool.Ifc.get().by_type("IfcShapeRepresentation")
@classmethod