mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 10:57:49 +00:00
material.assign_material - support batching #4474
This commit is contained in:
@@ -78,7 +78,7 @@ class Usecase:
|
||||
# our window too, but to keep this example simple, geometry is
|
||||
# optional and it is enough to say that this window is made out of
|
||||
# aluminium and glass.
|
||||
ifcopenshell.api.run("material.assign_material", model, product=window_type, material=material_set)
|
||||
ifcopenshell.api.run("material.assign_material", model, products=[window_type], material=material_set)
|
||||
"""
|
||||
self.file = file
|
||||
self.settings = {"constituent_set": constituent_set, "material": material}
|
||||
|
||||
Reference in New Issue
Block a user