mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +00:00
Minor structural code review
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import ifcopenshell.api
|
||||
|
||||
|
||||
class Usecase:
|
||||
def __init__(self, file, **settings):
|
||||
self.file = file
|
||||
@@ -18,8 +19,8 @@ class Usecase:
|
||||
self.file,
|
||||
ifc_class="IfcStructuralLoadCase",
|
||||
predefined_type=self.settings["predefined_type"],
|
||||
action_type=self.settings["action_type"],
|
||||
action_source=self.settings["action_source"],
|
||||
name=self.settings["name"],
|
||||
)
|
||||
load_case.ActionType = self.settings["action_type"]
|
||||
load_case.ActionSource = self.settings["action_source"]
|
||||
return load_case
|
||||
|
||||
Reference in New Issue
Block a user