Salome HOME
Récupération de l'étude courante
[modules/homard.git] / resources / yacs_01.en.xml
index f00cb5f39d9e6e58cf44696f09407844568fc8d0..da766f0343ed9f1621f45d941c21ae8ac5dd11e3 100644 (file)
@@ -56,9 +56,9 @@ import HOMARD_Boundary_idl
 
 clt = orbmodule.client()
 StudyManager = clt.Resolve("/myStudyManager")
-NewStudy = StudyManager.NewStudy("my_homard_study")
+CurrentStudy = StudyManager.GetStudyByID(1)
 ]]></code></script>
-         <outport name="NewStudy" type="Study"/>
+         <outport name="CurrentStudy" type="Study"/>
       </inline>
       <service name="SetCurrentStudy">
          <component>HOMARD</component>
@@ -68,7 +68,7 @@ NewStudy = StudyManager.NewStudy("my_homard_study")
       </service>
       <control> <fromnode>StudyCreation</fromnode> <tonode>SetCurrentStudy</tonode> </control>
       <datalink control="false">
-         <fromnode>StudyCreation</fromnode> <fromport>NewStudy</fromport>
+         <fromnode>StudyCreation</fromnode> <fromport>CurrentStudy</fromport>
          <tonode>SetCurrentStudy</tonode> <toport>theStudy</toport>
       </datalink>
    </bloc>