]> SALOME platform Git repositories - modules/superv.git/blob - examples/myFactorialPy.py
Salome HOME
PAL8521
[modules/superv.git] / examples / myFactorialPy.py
1 #  Copyright (C) 2003  CEA/DEN, EDF R&D
2 #
3 #
4 #
5 #  File   : myFactorialPy.py
6 #  Module : SuperVisionTest
7
8 from SuperV import *
9
10 myPy = Graph('myPy')
11
12 eval = myPy.Node('FactorialComponent','FactorialComponent','eval')
13 eval.SetContainer('FactoryServerPy')
14
15 myPy.IsValid()
16
17 myPy.PrintPorts()
18
19 myPy.Run( 3 )
20
21 myPy.DoneW()
22
23 print myPy.State()
24
25 myPy.PrintPorts()