Fix incorrect directory for location of json file

This commit is contained in:
Dion Moult
2019-01-23 22:19:12 +11:00
parent 294d9bf353
commit e2747e095f

View File

@@ -57,7 +57,7 @@ else:
# This module provides the base Arch component class, that
# is shared by all of the Arch BIM objects
with open(FreeCAD.ConfigGet("AppHomePath") + "Mod/Arch/Presets/ifc_products.json") as f:
with open(FreeCAD.ConfigGet("AppHomePath") + "data/Mod/Arch/Presets/ifc_products.json") as f:
IfcProducts = json.load(f)
# Possible roles for FreeCAD BIM objects