Salome HOME
Bug 0020201: EDF SMESH 984: Dump with Netgen1D2D3D doest not work.
authorjfa <jfa@opencascade.com>
Tue, 10 Mar 2009 09:12:29 +0000 (09:12 +0000)
committerjfa <jfa@opencascade.com>
Tue, 10 Mar 2009 09:12:29 +0000 (09:12 +0000)
src/SMESH_I/SMESH_2smeshpy.cxx

index 0fa541b7d04dbdf6634981c153449efd2f47bdad..95fbcd78835bd345a4708102aa00016d65865d70 100644 (file)
@@ -1287,7 +1287,7 @@ Handle(_pyHypothesis) _pyHypothesis::NewHypothesis( const Handle(_pyCommand)& th
   }
   else if ( hypType == "NETGEN_SimpleParameters_2D") {
     hyp->SetConvMethodAndType( "Parameters", "NETGEN_2D");
-    hyp->myArgs.Append( "which=SIMPLE" );
+    hyp->myArgs.Append( "which=smesh.SIMPLE" );
   }
   else if ( hypType == "NETGEN_2D3D") { // 1D-2D-3D
     algo->SetConvMethodAndType( "Tetrahedron" , hypType.ToCString());
@@ -1298,7 +1298,7 @@ Handle(_pyHypothesis) _pyHypothesis::NewHypothesis( const Handle(_pyCommand)& th
   }
   else if ( hypType == "NETGEN_SimpleParameters_3D") {
     hyp->SetConvMethodAndType( "Parameters", "NETGEN_2D3D");
-    hyp->myArgs.Append( "which=SIMPLE" );
+    hyp->myArgs.Append( "which=smesh.SIMPLE" );
   }
   else if ( hypType == "NETGEN_2D_ONLY") { // 2D
     algo->SetConvMethodAndType( "Triangle" , hypType.ToCString());