Arch IFC import, add simplificated method to get pset properties

This commit is contained in:
Bernd Hahnebach
2020-07-28 05:59:46 +02:00
parent ebe45e5603
commit f843ecce8e

View File

@@ -502,6 +502,12 @@ def getIfcProperties(ifcfile, pid, psets, d):
return d
def getIfcPsetPoperties(ifcfile, pid):
""" directly build the property table from pid and ifcfile for FreeCAD"""
return getIfcProperties(ifcfile, pid, getIfcPropertySets(ifcfile, pid), {})
# ************************************************************************************************
def getScaling(ifcfile):
"""returns a scaling factor from file units to mm"""