Arch: import IFC, remove not needed return value of colors method

This commit is contained in:
Bernd Hahnebach
2019-08-27 08:01:35 +02:00
parent ef6b1d4107
commit 2d925e4d56
2 changed files with 2 additions and 2 deletions

View File

@@ -272,7 +272,7 @@ def insert(filename,docname,skip=[],only=[],root=None,preferences=None):
groups = importIFCHelper.buildRelGroups(ifcfile)
subtractions = importIFCHelper.buildRelSubtractions(ifcfile)
mattable = importIFCHelper.buildRelMattable(ifcfile)
colors, style_material_id = importIFCHelper.buildRelColors(ifcfile, prodrepr)
colors = importIFCHelper.buildRelColors(ifcfile, prodrepr)
if preferences['DEBUG']: print("done.")
# only import a list of IDs and their children, if defined

View File

@@ -273,7 +273,7 @@ def buildRelColors(ifcfile, prodrepr):
if k in style_color_rgb:
colors[style_material_id[k]] = style_color_rgb[k]
return colors, style_material_id
return colors
def getRelProperties(ifcfile):