mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 18:43:26 +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:
@@ -40,7 +40,7 @@ def remove_profile(
|
||||
.. code:: python
|
||||
|
||||
# First, let's create a material set.
|
||||
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 steel material.
|
||||
|
||||
Reference in New Issue
Block a user