Can't open IFC file in FC 0.20 Windows

This forum section is only for IFC-related issues
Post Reply
silverdace
Posts: 1
Joined: Mon Aug 15, 2022 4:48 am

Can't open IFC file in FC 0.20 Windows

Post by silverdace »

I'm trying to open an IFC file in FreeCAD. Version 0.20 64 Bit windows.

This is the error received.

Code: Select all

16:36:28  Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\FreeCAD 0.20\Mod\Arch\importIFC.py", line 347, in insert
    prodrepr = importIFCHelper.buildRelProductRepresentation(ifcfile)
  File "C:\Program Files\FreeCAD 0.20\Mod\Arch\importIFCHelper.py", line 194, in buildRelProductRepresentation
    for it1 in it.Items:
<class 'TypeError'>: 'NoneType' object is not iterable
Please advise how to make it work.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Can't open IFC file in FC 0.20 Windows

Post by chrisb »

Hi and welcome to the forum!

Please retry with the latest 0.21 development version. If the problem persists, come back and add your FreeCAD infos as desribed here: http://forum.freecadweb.org/viewtopic.php?f=3&t=2264.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
thomas-neemann
Veteran
Posts: 11800
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Can't open IFC file in FC 0.20 Windows

Post by thomas-neemann »

silverdace wrote: Mon Aug 15, 2022 4:51 am ...
can you upload the file somewhere?
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Post Reply