Salome HOME
Passage de la documentation en utf-8
[modules/homard.git] / resources / yacs_01.fr.xml
index a05d16453c7d60edd60768838bc86cc704b36a57..5ec67d64604fc31f33e1d3aeadff9ada7725d1af 100644 (file)
@@ -54,9 +54,9 @@ import HOMARD_Hypothesis_idl
 import HOMARD_Zone_idl
 import HOMARD_Boundary_idl
 
-clt = orbmodule.client()
-StudyManager = clt.Resolve("/myStudyManager")
-CurrentStudy = StudyManager.GetStudyByID(1)
+import salome
+salome.salome_init()
+CurrentStudy = salome.myStudy
 ]]></code></script>
          <outport name="CurrentStudy" type="Study"/>
       </inline>