Arch: import IFC, remove not needed return value of colors method
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user