]> SALOME platform Git repositories - modules/homard.git/commitdiff
Salome HOME
Récupération de l'étude courante
authorGerald Nicolas <D68518@claui2t3.der.edf.fr>
Mon, 12 May 2014 12:03:12 +0000 (14:03 +0200)
committerGerald Nicolas <D68518@claui2t3.der.edf.fr>
Mon, 12 May 2014 12:03:12 +0000 (14:03 +0200)
doc/files/tutorial_4.xml
doc/files/yacs_01.en.xml
doc/files/yacs_01.fr.xml
resources/yacs_01.en.xml
resources/yacs_01.fr.xml

index fd588fc93c27a0982ddd8b0b6bc0ec25d99f4cf1..b793eeee15d98b3ab4a24e1dcd80d5b924b84033 100644 (file)
@@ -51,9 +51,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>
@@ -198,7 +198,7 @@ Hypo.AddGroup('T2_EXT')
       <control> <fromnode>CreateBoundaryintersection</fromnode> <tonode>CreateCase</tonode> </control>
       <control> <fromnode>CreateHypothesis_2</fromnode> <tonode>Hypo_Options_2</tonode> </control>
       <datalink control="false">
-         <fromnode>StudyCreation</fromnode> <fromport>NewStudy</fromport>
+         <fromnode>StudyCreation</fromnode> <fromport>CurrentStudy</fromport>
          <tonode>SetCurrentStudy</tonode> <toport>theStudy</toport>
       </datalink>
       <datalink control="false">
index 1110af3ae60730456d4c01d67e0d56c7436e8477..bb14b6b220fc7cfa9f3cd5914a8b90108dd4faff 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>
index d3eb6f0b23ed213309e662d581a67fe8fa542f08..b90f482c543f5cdae83fd77931cb98104d4d910a 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>
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>
index 0ed06c6bbb63e218b84e7f9fdbb97f5644e93511..a05d16453c7d60edd60768838bc86cc704b36a57 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>