OSArch Community

4D simulation Timeline date error

  1. K

    Hello everyone,

    I’m hoping there’s a smart person out there who can help me with this:

    When I close Blender and return to the office the next day, I start Blender and load the .blend file containing the 4D animation. However, I notice that the timeline date is stuck at the start date and doesn’t progress alongside the building animation.

    When I try to reset the animation, I encounter this error:

    Python: Traceback (most recent call last):

    File "C:\Users\SE\AppData\Roaming\Blender Foundation\Blender\4.2\extensions.local\lib\python3.11\site-packages\bonsai\bim\module\sequence\operator.py", line 1134, in execute

    core.visualise_work_schedule_date_range(tool.Sequence, work_schedule=tool.Ifc.get().by_id(self.work_schedule))

    File "C:\Users\SE\AppData\Roaming\Blender Foundation\Blender\4.2\extensions.local\lib\python3.11\site-packages\bonsai\core\sequence.py", line 563, in visualise_work_schedule_date_range

    sequence.animate_objects(settings, product_frames, "date_range")

    File "C:\Users\SE\AppData\Roaming\Blender Foundation\Blender\4.2\extensions.local\lib\python3.11\site-packages\bonsai\tool\sequence.py", line 1307, in animate_objects

    if tool.Ifc.get().by_id(obj.BIMObjectProperties.ifc_definition_id).is_a("IfcSpace"):
    
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    File "C:\Users\SE\AppData\Roaming\Blender Foundation\Blender\4.2\extensions.local\lib\python3.11\site-packages\ifcopenshell\file.py", line 463, in by_id

    return self[id]
    
           ~~~~^^^^

    File "C:\Users\SE\AppData\Roaming\Blender Foundation\Blender\4.2\extensions.local\lib\python3.11\site-packages\ifcopenshell\file.py", line 448, in getitem

    return entity_instance(self.wrapped_data.by_id(key), self)
    
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    File "C:\Users\SE\AppData\Roaming\Blender Foundation\Blender\4.2\extensions.local\lib\python3.11\site-packages\ifcopenshell\ifcopenshell_wrapper.py", line 8269, in by_id

    return _ifcopenshell_wrapper.file_by_id(self, id)
    
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    RuntimeError: Instance #911,596 not found

    Thanks in advance :)

Login or Register to reply.