Salome HOME
0023299: [CEA] Finalize multi-study removal
[modules/homard.git] / doc / en / tutorials.rst
index b0544844bae7f1207bfd5ec3219e743f3e50d5f0..a4bc7edb0e4e04103cac170ccf02714e86169b96 100644 (file)
@@ -16,7 +16,7 @@ The loading of the module HOMARD is done in a way similar to the other modules.
 
   import HOMARD
   homard = salome.lcc.FindOrLoadComponent('FactoryServer','HOMARD')
-  homard.SetCurrentStudy(salome.myStudy)
+  homard.SetStudy(salome.myStudy)
 
 To use the module HOMARD within a distributed scheme YACS, the loading is made as follows:
 
@@ -25,7 +25,7 @@ To use the module HOMARD within a distributed scheme YACS, the loading is made a
   import HOMARD
   my_container.load_component_Library('HOMARD')
   homard = my_container.create_component_instance('HOMARD',0)
-  homard.SetCurrentStudy(salome.myStudy)
+  homard.SetStudy(salome.myStudy)
 
 Uniform refinement
 ******************