mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
material.assign_material - support batching #4474
This commit is contained in:
@@ -79,7 +79,7 @@ class Usecase:
|
||||
profile_set=material_set, material=steel, profile=hea100)
|
||||
|
||||
# Great! Let's assign our material set to our beam type.
|
||||
ifcopenshell.api.run("material.assign_material", model, product=beam_type, material=material_set)
|
||||
ifcopenshell.api.run("material.assign_material", model, products=[beam_type], material=material_set)
|
||||
"""
|
||||
self.file = file
|
||||
self.settings = {"profile_set": profile_set, "material": material, "profile": profile}
|
||||
|
||||
Reference in New Issue
Block a user