mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
material.assign_material - support batching #4474
This commit is contained in:
@@ -68,7 +68,7 @@ class Usecase:
|
||||
|
||||
# Assign the concrete material to that bench. Note that no colour
|
||||
# "Style" has been specified.
|
||||
ifcopenshell.api.run("material.assign_material", model, product=concrete_bench, material=concrete)
|
||||
ifcopenshell.api.run("material.assign_material", model, products=[concrete_bench], material=concrete)
|
||||
"""
|
||||
self.file = file
|
||||
self.settings = {"name": name or "Unnamed", "category": category}
|
||||
|
||||
Reference in New Issue
Block a user