mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 11:18:18 +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"])
|
cls.handle_gantt_operator(operator["operator"])
|
||||||
elif operator["sourcePage"] == "drawings":
|
elif operator["sourcePage"] == "drawings":
|
||||||
cls.handle_drawings_operator(operator["operator"])
|
cls.handle_drawings_operator(operator["operator"])
|
||||||
|
elif operator["sourcePage"] == "demo":
|
||||||
|
message = operator["operator"]["message"]
|
||||||
|
print(f"Message from demo page: {message}")
|
||||||
return 1.0
|
return 1.0
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user