-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMainMenuCommon.xml
105 lines (84 loc) · 3.03 KB
/
MainMenuCommon.xml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?xml version="1.0" encoding="UTF-8"?>
<mainMenu>
<menuBar>
<!-- ========================= Window Menu ========================= -->
<!-- <addScriptItem id="h.avl_vex_shell">
<label>VEX Shell (AVL)</label>
<parent>windows_menu</parent>
<insertAfter>h.python_panel_editor</insertAfter>
<scriptCode>
</scriptCode>
</addScriptItem> -->
<!-- <addScriptItem id="h.avl_vex_editor">
<label>VEX Code Editor (AVL)</label>
<parent>windows_menu</parent>
<insertAfter>h.avl_vex_shell</insertAfter>
<scriptCode>
</scriptCode>
</addScriptItem> -->
<!-- <addScriptItem id="h.avl_vex_snippets">
<label>VEX Snippets (AVL)</label>
<parent>windows_menu</parent>
<insertAfter>h.avl_vex_editor</insertAfter>
<scriptCode>
</scriptCode>
</addScriptItem> -->
<!-- ================== Advanced VEX Library Menu ================== -->
<subMenu id="h.avl">
<label>Advanced VEX Library</label>
<!-- <scriptItem id="h.avl.shell">
<label>VEX Shell</label>
<scriptCode>
</scriptCode>
</scriptItem> -->
<!-- <scriptItem id="h.avl.editor">
<label>VEX Code Editor</label>
<scriptCode>
</scriptCode>
</scriptItem> -->
<!-- <scriptItem id="h.avl.snippets">
<label>VEX Snippets</label>
<scriptCode>
</scriptCode>
</scriptItem> -->
<separatorItem/>
<!-- <scriptItem id="h.avl.optimize">
<label>Optimize</label>
<scriptCode>
</scriptCode>
</scriptItem> -->
<!-- <scriptItem id="h.avl.deploy">
<label>Deploy</label>
<scriptCode>
</scriptCode>
</scriptItem> -->
<separatorItem/>
<scriptItem id="h.avl.repository">
<label>Visit on GitHub</label>
<scriptCode>
import webbrowser
repoURL = 'https://github.com/AdvancedVEXLibrary/Advanced-VEX-Library'
webbrowser.open_new_tab(repoURL)
</scriptCode>
</scriptItem>
<!-- <scriptItem id="h.avl.help_online">
<label>Online Help</label>
<scriptCode>
</scriptCode>
</scriptItem> -->
<!-- <scriptItem id="h.avl.update">
<label>Update</label>
<scriptCode>
</scriptCode>
</scriptItem> -->
<separatorItem/>
<scriptItem id="h.avl.about">
<label>About AVL</label>
<scriptCode>
from avl import version
hou.ui.displayMessage('Version ' + version, title='About AVL')
</scriptCode>
</scriptItem>
</subMenu>
</menuBar>
</mainMenu>