mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
handle operators from demo page
This commit is contained in:
@@ -307,6 +307,9 @@ class Web(bonsai.core.tool.Web):
|
||||
cls.handle_gantt_operator(operator["operator"])
|
||||
elif operator["sourcePage"] == "drawings":
|
||||
cls.handle_drawings_operator(operator["operator"])
|
||||
elif operator["sourcePage"] == "demo":
|
||||
message = operator["operator"]["message"]
|
||||
print(f"Message from demo page: {message}")
|
||||
return 1.0
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user