See #2140. You can now bulk unassign aggregates, and they are auto directly contained in any previous indirect containers.

This commit is contained in:
Dion Moult
2023-03-11 16:31:09 +11:00
parent c51aa910cb
commit 0dad93bf00
10 changed files with 73 additions and 46 deletions
@@ -34,7 +34,7 @@ Scenario: Unassign object
And the variable "related_object" is "tool.Ifc.get().by_type('IfcBuildingStorey')[0].id()"
And I press "bim.assign_object(relating_object={relating_object}, related_object={related_object})"
And the object "IfcBuildingStorey/My Storey" is selected
When I press "bim.unassign_object(relating_object={relating_object}, related_object={related_object})"
When I press "bim.unassign_object"
Then the object "IfcSite/My Site" is in the collection "IfcSite/My Site"
And the object "IfcBuildingStorey/My Storey" is in the collection "IfcBuildingStorey/My Storey"
And the collection "IfcBuildingStorey/My Storey" is in the collection "IfcProject/My Project"