-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDeploy_ETO_App.py
More file actions
41 lines (29 loc) · 885 Bytes
/
Deploy_ETO_App.py
File metadata and controls
41 lines (29 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import Rhino
import rhinoscriptsyntax as rs
import Deploy_BaseTypes
reload(Deploy_BaseTypes)
from Deploy_BaseTypes import *
import Deploy_Engine
reload(Deploy_Engine)
from Deploy_Engine import Engine
import Deploy_ETOUI
reload(Deploy_ETOUI)
from Deploy_ETOUI import MainForm
# import Deploy_ETO_AssignActions
# reload(Deploy_ETO_AssignActions)
# from Deploy_ETO_AssignActions import *
import clr
clr.AddReference("Eto")
clr.AddReference("Rhino.UI")
from Rhino.UI import *
from Eto.Forms import Form, Dialog, Label, TabControl, ComboBox,TabPage, TextBox, StackLayout, StackLayoutItem, Orientation, Button, HorizontalAlignment, MessageBox
from Eto.Drawing import *
engine=Engine()
#engine.fixCurrentModel()
form = MainForm()
form.initUI(engine)
form.TopMost=True
try:
engine.assignAction(form)
except Exception as e:print(e)
form.Show()