mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
classification.add_reference - support batching #4474
This commit is contained in:
@@ -34,14 +34,14 @@ class TestGetReferences(test.bootstrap.IFC4):
|
||||
ifcopenshell.api.run(
|
||||
"classification.add_reference",
|
||||
self.file,
|
||||
product=element,
|
||||
products=[element],
|
||||
reference=reference1,
|
||||
classification=classification,
|
||||
)
|
||||
ifcopenshell.api.run(
|
||||
"classification.add_reference",
|
||||
self.file,
|
||||
product=element,
|
||||
products=[element],
|
||||
reference=reference2,
|
||||
classification=classification,
|
||||
)
|
||||
@@ -54,7 +54,7 @@ class TestGetReferences(test.bootstrap.IFC4):
|
||||
ifcopenshell.api.run(
|
||||
"classification.add_reference",
|
||||
self.file,
|
||||
product=element,
|
||||
products=[element],
|
||||
identification="X",
|
||||
name="Foobar",
|
||||
classification=result,
|
||||
@@ -74,14 +74,14 @@ class TestGetReferences(test.bootstrap.IFC4):
|
||||
ifcopenshell.api.run(
|
||||
"classification.add_reference",
|
||||
self.file,
|
||||
product=element,
|
||||
products=[element],
|
||||
reference=reference1,
|
||||
classification=classification,
|
||||
)
|
||||
ifcopenshell.api.run(
|
||||
"classification.add_reference",
|
||||
self.file,
|
||||
product=element_type,
|
||||
products=[element_type],
|
||||
reference=reference2,
|
||||
classification=classification,
|
||||
)
|
||||
@@ -103,14 +103,14 @@ class TestGetReferences(test.bootstrap.IFC4):
|
||||
ifcopenshell.api.run(
|
||||
"classification.add_reference",
|
||||
self.file,
|
||||
product=element,
|
||||
products=[element],
|
||||
reference=reference1,
|
||||
classification=classification,
|
||||
)
|
||||
ifcopenshell.api.run(
|
||||
"classification.add_reference",
|
||||
self.file,
|
||||
product=element_type,
|
||||
products=[element_type],
|
||||
reference=reference2,
|
||||
classification=classification,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user