prefix bim.assign/unassign_object to avoid operator override #4099

Co-Authored-By: Bruno Perdigão <57102715+brunoperdigao@users.noreply.github.com>
This commit is contained in:
Andrej730
2023-12-20 13:47:50 +05:00
parent 9e3b3aca42
commit 50e568b706
8 changed files with 24 additions and 24 deletions
@@ -33,7 +33,7 @@ Scenario: Unassign object
And the variable "relating_object" is "tool.Ifc.get().by_type('IfcSite')[0].id()"
And I press "bim.assign_object(relating_object={relating_object})"
And the object "IfcBuildingStorey/My Storey" is selected
When I press "bim.unassign_object"
When I press "bim.aggregate_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"
@@ -54,7 +54,7 @@ Scenario: Unassign object - multiple objects are contained again to their indire
And I press "bim.add_aggregate(ifc_class='IfcWall')"
And the object "IfcMember/Cube" is selected
And additionally the object "IfcCovering/Cube" is selected
When I press "bim.unassign_object"
When I press "bim.aggregate_unassign_object"
Then the object "IfcMember/Cube" is in the collection "IfcBuildingStorey/My Storey"
And the object "IfcCovering/Cube" is in the collection "IfcBuildingStorey/My Storey"