Salome HOME
0023623: [CEA 2284] : Mesh migration documentation link doesn't exist
[modules/smesh.git] / doc / salome / gui / SMESH / input / smesh_migration.rst
index 5a2202486c227ca283c9222df3ff27723e4114b3..dad99f4bf571f2ccb255e506c847bb26631f851a 100644 (file)
@@ -1,8 +1,8 @@
 .. _smesh_migration_page:
 
-*****************************************************
-Modifing Mesh Python scripts from SALOME 6 and before
-*****************************************************
+******************************************************
+Modifying Mesh Python scripts from SALOME 6 and before
+******************************************************
 
 In SALOME 7.2, the Python interface for Mesh has been slightly modified to offer new functionality:
 
@@ -10,6 +10,9 @@ In SALOME 7.2, the Python interface for Mesh has been slightly modified to offer
 Scripts generated for SALOME 6 and older versions must be adapted to work in SALOME 7.2 with full functionality.
 The compatibility mode allows old scripts to work in almost all cases, but with a warning.
 
+See also *"Modifying Geometry Python scripts from SALOME 6 and before"* page in the Geometry module's
+User Guide.
+
 * **Salome initialisation** must always be done as shown below.
 
   (*salome_init()* can be invoked safely several times)::
@@ -28,12 +31,12 @@ The compatibility mode allows old scripts to work in almost all cases, but with
 
        import SMESH, SALOMEDS
        from salome.smesh import smeshBuilder
-       smesh =  smeshBuilder.New(salome.myStudy)
+       smesh =  smeshBuilder.New()
 
 
 * Of course, **from smesh import** * is **no more possible.**
 
-  You have to explicitely write *smesh.some_method()*.
+  You have to explicitly write *smesh.some_method()*.
 
 * All **algorithms** have been transferred from the namespace *smesh* to the namespace *smeshBuilder*.
 
@@ -84,7 +87,7 @@ The compatibility mode allows old scripts to work in almost all cases, but with
 
        Compound1 = smesh.Concatenate([Mesh_inf.GetMesh(), Mesh_sup.GetMesh()], 0, 1, 1e-05)
 
-* If you need to **import a SMESH Plugin** explicitely, keep in mind that  they are now located in separate namespaces.
+* If you need to **import a SMESH Plugin** explicitly, keep in mind that they are now located in separate namespaces.
 
   For instance::