mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-18 11:20:21 +00:00
Support duplicating potential openings and potential/existing booleans
This commit is contained in:
@@ -33,9 +33,10 @@ class TestImplementsTool(NewFile):
|
||||
class TestAddTrackedOpening(NewFile):
|
||||
def test_run(self):
|
||||
obj = bpy.data.objects.new("Object", None)
|
||||
subject.add_tracked_opening(obj)
|
||||
subject.add_tracked_opening(obj, "OPENING")
|
||||
props = bpy.context.scene.BIMModelProperties
|
||||
assert props.openings[0].obj == obj
|
||||
assert props.openings[0].name == "OPENING"
|
||||
|
||||
|
||||
class TestCopyRepresentation(NewFile):
|
||||
|
||||
Reference in New Issue
Block a user