]> SALOME platform Git repositories - modules/superv.git/blob - examples/PAL9133.py
Salome HOME
*** empty log message ***
[modules/superv.git] / examples / PAL9133.py
1
2 # Generated python file of Graph PAL9133
3
4 from SuperV import *
5
6 # Graph creation of PAL9133
7 def DefPAL9133() :
8     PAL9133 = Graph( 'PAL9133' )
9     PAL9133.SetName( 'PAL9133' )
10     PAL9133.SetAuthor( 'JR' )
11     PAL9133.SetComment( 'Void strings as Input was not possible' )
12     PAL9133.Coords( 0 , 0 )
13     
14     # Creation of Factory Nodes
15     
16     # Creation of InLine Nodes
17     PyVoidString = []
18     PyVoidString.append( 'def VoidString(aString) : ' )
19     PyVoidString.append( '    print "VoidString(" + aString + ")" ' )
20     PyVoidString.append( '    return aString ' )
21     PyVoidString.append( ' ' )
22     VoidString = PAL9133.INode( 'VoidString' , PyVoidString )
23     VoidString.SetName( 'VoidString' )
24     VoidString.SetAuthor( '' )
25     VoidString.SetComment( 'Compute Node' )
26     VoidString.Coords( 226 , 176 )
27     IVoidStringaString = VoidString.InPort( 'aString' , 'string' )
28     IVoidStringGate = VoidString.GetInPort( 'Gate' )
29     OVoidStringaString = VoidString.OutPort( 'aString' , 'string' )
30     OVoidStringGate = VoidString.GetOutPort( 'Gate' )
31     
32     # Input Ports of the graph
33     #IVoidStringaString = VoidString.GetInPort( 'aString' )
34     
35     # Output Ports of the graph
36     #OVoidStringaString = VoidString.GetOutPort( 'aString' )
37     return PAL9133
38
39
40 PAL9133 = DefPAL9133()