Open IliyaMuzychuk opened 1 year ago
Trying to do a conversion from an IFC file to dotbim but getting the following error:
File "d:\40_Romeo\02_Scripting Repo\Python\ifc2dotbim.py", line 8, in ifc2dotbim.execute() File "d:\40_Romeo\02_Scripting Repo\Python\dotbimifc.py", line 45, in execute mesh = self.create_mesh(mesh_name, shape, mesh_name_dictionary[mesh_name]) File "d:\40_Romeo\02_Scripting Repo\Python\dotbimifc.py", line 144, in create_mesh self.mesh_colors[name] = material_rgbas[most_popular_material] KeyError: 'surface-style-5417-'
Any idea what I am doing wrong?
Trying to do a conversion from an IFC file to dotbim but getting the following error:
File "d:\40_Romeo\02_Scripting Repo\Python\ifc2dotbim.py", line 8, in
ifc2dotbim.execute()
File "d:\40_Romeo\02_Scripting Repo\Python\dotbimifc.py", line 45, in execute
mesh = self.create_mesh(mesh_name, shape, mesh_name_dictionary[mesh_name])
File "d:\40_Romeo\02_Scripting Repo\Python\dotbimifc.py", line 144, in create_mesh
self.mesh_colors[name] = material_rgbas[most_popular_material]
KeyError: 'surface-style-5417-'
Any idea what I am doing wrong?