mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-29 16:22:53 +00:00
Fix #3069. WARNING: dangerous change. Objects that have their own collection now have a pointer to that collection. This fixes a variety of subtle sync bugs.
This commit is contained in:
@@ -153,6 +153,7 @@ class TestAssign(NewFile):
|
||||
tool.Ifc.link(space_element, space_obj)
|
||||
space_collection = bpy.data.collections.new("IfcSpace/Name")
|
||||
bpy.context.scene.collection.children.link(space_collection)
|
||||
space_obj.BIMObjectProperties.collection = space_collection
|
||||
space_collection.objects.link(space_obj)
|
||||
ifcopenshell.api.run(
|
||||
"aggregate.assign_object",
|
||||
|
||||
Reference in New Issue
Block a user