OSArch Community

Import error from FreeCAD IFC

  1. T

    @yorik

    Not sure this is a freecad or BB thing, but thought i'd log here, nonetheless.

    I get the following error when i try to import this IFC into BB.

    
    Python: Traceback (most recent call last):
    
      File "C:\Users\Owner\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\blenderbim\bim\module\project\operator.py", line 533, in execute
    
        bpy.ops.bim.load_project_elements()
    
      File "c:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\modules\bpy\ops.py", line 113, in __call__
    
        ret = _op_call(self.idname_py(), None, kw)
    
    RuntimeError: Error: Python: Traceback (most recent call last):
    
      File "C:\Users\Owner\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\blenderbim\bim\module\project\operator.py", line 590, in execute
    
        ifc_importer.execute()
    
      File "C:\Users\Owner\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\blenderbim\bim\import_ifc.py", line 256, in execute
    
        self.place_objects_in_collections()
    
      File "C:\Users\Owner\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\blenderbim\bim\import_ifc.py", line 1672, in place_objects_in_collections
    
        self.place_object_in_collection(self.file.by_id(ifc_definition_id), obj)
    
      File "C:\Users\Owner\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\blenderbim\bim\import_ifc.py", line 1676, in place_object_in_collection
    
        self.place_object_in_decomposition_collection(element, obj)
    
      File "C:\Users\Owner\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\blenderbim\bim\import_ifc.py", line 1693, in place_object_in_decomposition_collection
    
        return self.place_object_in_spatial_decomposition_collection(element, obj)
    
      File "C:\Users\Owner\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\blenderbim\bim\import_ifc.py", line 1711, in place_object_in_spatial_decomposition_collection
    
        return self.collections[group.GlobalId].objects.link(obj)
    
    KeyError: '0omnaonwv9bOoPJq$bH6TM'
    
    Location: c:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\modules\bpy\ops.py:113
    
    
  2. M

Login or Register to reply.