mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
IfcOpenShell API now uses kwargs to improve user syntax. See #1399.
This commit is contained in:
@@ -2,7 +2,7 @@ import ifcopenshell
|
||||
|
||||
|
||||
class Usecase:
|
||||
def __init__(self, file, settings={}):
|
||||
def __init__(self, file, **settings):
|
||||
self.file = file
|
||||
self.settings = {"material": None}
|
||||
for key, value in settings.items():
|
||||
|
||||
Reference in New Issue
Block a user