4 # Warning this script has an IOR (object reference) as Input :
5 # You may have to redefine it with the result of :
6 # SyrStruct.ComponentRef( 'FactoryServer' , 'SyrComponent' )
7 # See the Input Port forN.InPort( 'SyrComponent' , 'ComponentRef' )
9 #SyrStruct = Graph('../share/salome/resources/SyrStruct.xml')
10 SyrStruct = Graph('/home/data/jr_HEAD/build/share/salome/resources/SyrStruct.xml')
12 exec SyrStruct.ListNodes()
28 EndN = endwhileNotOne.Port( 'N' )
29 K = endforN.Port( 'K' )
33 while SyrStruct.IsDone() == 0 :
35 if SyrStruct.IsDone() == 0 :
36 print N.ToString(),'-->',EndN.ToString(),'with',K.ToString(),'steps'
41 SyrStruct.PrintPorts()