mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 10:33:20 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user