mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
Replace all ifcopenshell.api.run with ifcopenshell.api static functions.
This commit is contained in:
@@ -58,6 +58,6 @@ def add_library(file: ifcopenshell.file, name: str) -> ifcopenshell.entity_insta
|
||||
|
||||
.. code:: python
|
||||
|
||||
ifcopenshell.api.run("library.add_library", model, name="Brickschema")
|
||||
ifcopenshell.api.library.add_library(model, name="Brickschema")
|
||||
"""
|
||||
return file.create_entity("IfcLibraryInformation", Name=name)
|
||||
|
||||
Reference in New Issue
Block a user