Arch: import ifc, use the new layer make command since the dereciated one does not create layers on import

This commit is contained in:
Bernd Hahnebach
2020-07-21 15:16:04 +02:00
parent 0eb7967c40
commit 933c90c74a

View File

@@ -1273,7 +1273,7 @@ def insert(srcfile,docname,skip=[],only=[],root=None,preferences=None):
if preferences['DEBUG'] and layers: print("Creating layers...", end="")
# print(layers)
for layer_name, layer_objects in layers.items():
lay = Draft.makeLayer(layer_name)
lay = Draft.make_layer(layer_name)
lay_grp = []
for lobj_id in layer_objects:
if lobj_id in objects: