docs fixes

1) material.add_profile_set doesn't exist
2) usecase.file is not defined, use `model` instead`
3) Specify material for material.assign_material
This commit is contained in:
Andrej730
2025-03-03 13:23:49 +05:00
parent fed063a0c6
commit 7f27785927
5 changed files with 9 additions and 9 deletions
@@ -46,7 +46,7 @@ def edit_profile(
.. code:: python
# Let's create a material set to store our profiles.
material_set = ifcopenshell.api.material.add_profile_set(model,
material_set = ifcopenshell.api.material.add_material_set(model,
name="B1", set_type="IfcMaterialProfileSet")
# Create a couple steel materials.