Arch: import IFC, replace project, comment debug print

This commit is contained in:
Bernd Hahnebach
2021-10-27 08:17:48 +02:00
committed by GitHub
parent 7d21029ff5
commit 082989ac86

View File

@@ -1337,7 +1337,7 @@ def insert(srcfile, docname, skip=[], only=[], root=None, preferences=None):
if preferences['REPLACE_PROJECT'] and filename:
rootgroup = FreeCAD.ActiveDocument.addObject("App::DocumentObjectGroup","Group")
rootgroup.Label = os.path.basename(filename)
print(objects)
# print(objects)
for key,obj in objects.items():
# only add top-level objects
if not obj.InList: