mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
material.assign_material - support batching #4474
This commit is contained in:
@@ -82,7 +82,7 @@ class Usecase:
|
||||
|
||||
# Assign our concrete material to our wall
|
||||
ifcopenshell.api.run("material.assign_material", model,
|
||||
product=wall, type="IfcMaterial", material=concrete)
|
||||
products=[wall], type="IfcMaterial", material=concrete)
|
||||
|
||||
# Create a new surface style
|
||||
style = ifcopenshell.api.run("style.add_style", model)
|
||||
|
||||
Reference in New Issue
Block a user