Assigning a profile set auto creates profiles if none exist to prevent invalid data.

This commit is contained in:
Dion Moult
2023-02-05 15:29:39 +11:00
parent 9f399b34fb
commit 77234706b0
3 changed files with 55 additions and 4 deletions
@@ -242,6 +242,7 @@ Scenario: Assign material - material profile set
When I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialProfileSet"
And I press "bim.assign_material"
Then the object "IfcWallType/Empty" does not have the material "Default"
And the object "IfcWallType/Empty" has a profiled material containing the material "Default" and profile "New Profile"
Scenario: Unassign material - material profile set
Given an empty IFC project