mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Fix bug related to constraints and aggregate duplication
This commit is contained in:
@@ -329,6 +329,7 @@ class Root(bonsai.core.tool.Root):
|
|||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
tool.Aggregate.apply_constraints(tool.Ifc.get_object(new[0]))
|
||||||
bonsai.core.aggregate.assign_object(
|
bonsai.core.aggregate.assign_object(
|
||||||
tool.Ifc,
|
tool.Ifc,
|
||||||
tool.Aggregate,
|
tool.Aggregate,
|
||||||
@@ -350,6 +351,10 @@ class Root(bonsai.core.tool.Root):
|
|||||||
related_obj=tool.Ifc.get_object(tool.Ifc.get_entity(obj)),
|
related_obj=tool.Ifc.get_object(tool.Ifc.get_entity(obj)),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
tool.Aggregate.constrain_all_parts_to_aggregate(tool.Ifc.get_object(new_aggregate[0]))
|
||||||
|
tool.Blender.select_and_activate_single_object(bpy.context, tool.Ifc.get_object(new_aggregate[0]))
|
||||||
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def run_geometry_add_representation(
|
def run_geometry_add_representation(
|
||||||
cls,
|
cls,
|
||||||
|
|||||||
Reference in New Issue
Block a user