Salome HOME
Documenting the nodal connectivity
[modules/smesh.git] / doc / salome / gui / SMESH / input / smesh_migration.doc
index 055723dd766ee073bf1afd79d7c1431ccd8483cf..2846b0884c24f0048d90854b6e6c2ae6e8e2289f 100644 (file)
@@ -4,15 +4,10 @@
 
 \n In SALOME 7.2, the Python interface for %Mesh has been slightly modified to offer new functionality:
 
-<ul>
-  <li>\subpage tui_execution_distribution_page</li>
-  <li>\subpage tui_auto_completion_documentation_page</li>
-</ul>
-
 \n Scripts generated for SALOME 6 and older versions must be adapted to work in SALOME 7.2 with full functionality.
 \n The compatibility mode allows old scripts to work in almost all cases, but with a warning.
 
-See also <li>\subpage geompy_migration_page</li>
+See also \subpage geompy_migration_page
 
 <b>Salome initialisation must always be done as shown below</b>
 \n (<em>salome_init()</em> can be invoked safely several times):
@@ -25,7 +20,7 @@ salome.salome_init()
 \n the old mode (from dump):
 \code
 import smesh, SMESH, SALOMEDS
-smesh.SetCurrentStudy(theStudy)
+smesh.SetCurrentStudy(salome.myStudy)
 \endcode
 \n the new mode:
 \code
@@ -38,7 +33,7 @@ smesh =  smeshBuilder.New(salome.myStudy)
 <b> Of course, <em>from smesh import *</em> is no more possible.</b>
 \n You have to explicitely write <em>smesh.some_method()</em>.
 
-<b>Some algorithms have been transferred from the namespace <em>smesh</em> to the namespace <em>smeshBuilder</em>.</b>
+<b>All algorithms have been transferred from the namespace <em>smesh</em> to the namespace <em>smeshBuilder</em>.</b>
 \n For instance:
 \code
 MEFISTO_2D_1 = Mesh_1.Triangle(algo=smesh.MEFISTO,geom=Face_1)
@@ -98,7 +93,7 @@ is replaced by:
 from salome.StdMeshers import StdMeshersBuilder
 from salome.NETGENPlugin import NETGENPluginBuilder
 from salome.BLSURFPlugin import BLSURFPluginBuilder
-from salomeGHS3DPlugin .import GHS3DPluginBuilder
+from salome.GHS3DPlugin import GHS3DPluginBuilder
 from salome.HexoticPLUGIN import HexoticPLUGINBuilder
 \endcode