mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
hide spaces when creating an animation
This commit is contained in:
@@ -1303,6 +1303,9 @@ class Sequence(blenderbim.core.tool.Sequence):
|
|||||||
for obj in bpy.data.objects:
|
for obj in bpy.data.objects:
|
||||||
if not obj.BIMObjectProperties.ifc_definition_id:
|
if not obj.BIMObjectProperties.ifc_definition_id:
|
||||||
continue
|
continue
|
||||||
|
if tool.Ifc.get().by_id(obj.BIMObjectProperties.ifc_definition_id).is_a("IfcSpace"):
|
||||||
|
cls.hide_object(obj)
|
||||||
|
continue
|
||||||
cls.earliest_frame = None
|
cls.earliest_frame = None
|
||||||
product_frames = frames.get(obj.BIMObjectProperties.ifc_definition_id, [])
|
product_frames = frames.get(obj.BIMObjectProperties.ifc_definition_id, [])
|
||||||
for product_frame in product_frames:
|
for product_frame in product_frames:
|
||||||
|
|||||||
Reference in New Issue
Block a user