Arch: ifc properties, Py3 fix
This commit is contained in:
@@ -1191,7 +1191,7 @@ class ComponentTaskPanel:
|
||||
import Arch_rc, csv, os, ArchIFCSchema
|
||||
|
||||
# get presets
|
||||
self.ptypes = ArchIFCSchema.IfcTypes.keys()
|
||||
self.ptypes = list(ArchIFCSchema.IfcTypes.keys())
|
||||
self.plabels = [''.join(map(lambda x: x if x.islower() else " "+x, t[3:]))[1:] for t in self.ptypes]
|
||||
self.psetdefs = {}
|
||||
psetspath = os.path.join(FreeCAD.getResourceDir(),"Mod","Arch","Presets","pset_definitions.csv")
|
||||
|
||||
Reference in New Issue
Block a user