mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-29 16:22:53 +00:00
typing
This commit is contained in:
@@ -211,6 +211,7 @@ class AddRepresentation(bpy.types.Operator, tool.Ifc.Operator):
|
||||
|
||||
def _execute(self, context):
|
||||
obj = context.active_object
|
||||
assert obj
|
||||
props = context.scene.BIMGeometryProperties
|
||||
oprops = obj.BIMGeometryProperties
|
||||
ifc_context = int(oprops.contexts or "0") or None
|
||||
|
||||
@@ -110,7 +110,7 @@ class SpatialDecompositionData:
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def subelement_class(cls):
|
||||
def subelement_class(cls) -> list[tuple[str, str, str]]:
|
||||
results = []
|
||||
props = bpy.context.scene.BIMSpatialDecompositionProperties
|
||||
if not (container := props.active_container):
|
||||
|
||||
Reference in New Issue
Block a user