-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExampleScript.py
More file actions
34 lines (29 loc) · 1.2 KB
/
ExampleScript.py
File metadata and controls
34 lines (29 loc) · 1.2 KB
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
#===============================================================================
# @License:
# This example file is public domain. See ADDENDUM section in LICENSE.
# You may do the following things with this file without restrictions or conditions:
# 1. Modify it.
# 2. Remove or modify this section to your liking.
# 3. Redistribute it under any licensing terms that you wish.
# 4. Make copyright claims to derivative works of this file.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#===============================================================================
from PySide import QtGui, QtCore
import sys
import cmd
import pdb
import __init__ as MyApp
import AppCore
def main():
pNode = AppCore.NodeGraph.createNode('Clip')
pNode['xpos'].setValue(0)
pNode['ypos'].setValue(0)
pNode['file'].setValue('*NWSTORAGE/')
AppCore.ViewerWidget.setInput(0, pNode)
MyApp.run()
if __name__ == '__main__':
main()