mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
core.duplicate_drawing - remove debug print statements and unused code
This commit is contained in:
@@ -318,11 +318,8 @@ def duplicate_drawing(
|
||||
for new_elements in old_to_new.values():
|
||||
# Remove the Blender object, since we haven't actually activated the duplicated drawing
|
||||
for new_element in new_elements:
|
||||
print("new element", new_element)
|
||||
print("gonna remove", ifc.get_object(new_element))
|
||||
blender.remove_object(ifc.get_object(new_element))
|
||||
new_annotations.extend(new_elements)
|
||||
new_annotation = set(new_annotations)
|
||||
ifc.run("group.unassign_group", group=group, products=new_annotations)
|
||||
ifc.run("group.assign_group", group=new_group, products=new_annotations)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user