hide spaces when creating an animation

This commit is contained in:
Sigma Dimensions (Yass)
2023-09-26 16:38:33 +01:00
parent 5c2523e752
commit 6962e505f9
@@ -1303,6 +1303,9 @@ class Sequence(blenderbim.core.tool.Sequence):
for obj in bpy.data.objects:
if not obj.BIMObjectProperties.ifc_definition_id:
continue
if tool.Ifc.get().by_id(obj.BIMObjectProperties.ifc_definition_id).is_a("IfcSpace"):
cls.hide_object(obj)
continue
cls.earliest_frame = None
product_frames = frames.get(obj.BIMObjectProperties.ifc_definition_id, [])
for product_frame in product_frames: