myoualid / ifc-101-course

A video-series on IFC and BlenderBIM
GNU General Public License v2.0
91 stars 31 forks source link

TypeError: string indices must be integers #7

Open Owuraqu opened 1 year ago

Owuraqu commented 1 year ago

When I double-click on an element to see its properties it raises a TypeError as in the attached image below. I tried to identify any possible type casting but was left guessing now. Kindly offer some insights.

ifc10109
CarloC-AB commented 1 month ago

Managed to fix it, in tools/ifchelper.py, change line 171 to for pset in ifcJSON['props']: