From: Paul RASCLE Date: Fri, 20 Nov 2015 15:42:42 +0000 (+0100) Subject: tests exemples ok X-Git-Tag: SALOME_HYDRO_V1.0~66 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=18689149637bdea971d30a9f0a3fb025abf0760c;p=modules%2Fhydro.git tests exemples ok --- diff --git a/doc/salome/examples/h008_simpleCase.py b/doc/salome/examples/h008_simpleCase.py index c0536177..c36b8180 100644 --- a/doc/salome/examples/h008_simpleCase.py +++ b/doc/salome/examples/h008_simpleCase.py @@ -53,9 +53,10 @@ Case_1 = hydro_doc.CreateObject( KIND_CALCULATION ) Case_1.SetName( "Case_1" ) Case_1.SetAssignmentMode( HYDROData_CalculationCase.AUTOMATIC ) -Case_1.SetAssignmentLandCoverMode( HYDROData_CalculationCase.AUTOMATIC ) Case_1.AddGeometryObject( Immersible_zone_1 ) +case_geom_group = Immersible_zone_1.GetGroup( 0 ); +Case_1.AddGeometryGroup( case_geom_group ); Case_1.SetBoundaryPolyline( Polyline_1 ) # Start the algorithm of the partition and assignment diff --git a/doc/salome/examples/h009_normalCaseManual.py b/doc/salome/examples/h009_normalCaseManual.py index 4a79e748..b1d8dfa1 100644 --- a/doc/salome/examples/h009_normalCaseManual.py +++ b/doc/salome/examples/h009_normalCaseManual.py @@ -253,7 +253,6 @@ garonne_1 = hydro_doc.CreateObject( KIND_CALCULATION ) garonne_1.SetName( "garonne_1" ) garonne_1.SetAssignmentMode( HYDROData_CalculationCase.MANUAL ) -garonne_1.SetAssignmentLandCoverMode( HYDROData_CalculationCase.AUTOMATIC ) garonne_1.AddGeometryObject( litMineur ) garonne_1.AddGeometryObject( domaineEtendu ) garonne_1.AddGeometryObject( litMajeur ) diff --git a/doc/salome/examples/h010_normalCaseManualMesh.py b/doc/salome/examples/h010_normalCaseManualMesh.py index 42ce8c92..d37593ff 100644 --- a/doc/salome/examples/h010_normalCaseManualMesh.py +++ b/doc/salome/examples/h010_normalCaseManualMesh.py @@ -253,7 +253,6 @@ garonne_1 = hydro_doc.CreateObject( KIND_CALCULATION ) garonne_1.SetName( "garonne_1" ) garonne_1.SetAssignmentMode( HYDROData_CalculationCase.MANUAL ) -garonne_1.SetAssignmentLandCoverMode( HYDROData_CalculationCase.AUTOMATIC ) garonne_1.AddGeometryObject( litMineur ) garonne_1.AddGeometryObject( domaineEtendu ) garonne_1.AddGeometryObject( litMajeur ) diff --git a/doc/salome/examples/h011_normalCaseManualInterpolZ.py b/doc/salome/examples/h011_normalCaseManualInterpolZ.py index 26d613d0..cf956007 100644 --- a/doc/salome/examples/h011_normalCaseManualInterpolZ.py +++ b/doc/salome/examples/h011_normalCaseManualInterpolZ.py @@ -253,7 +253,6 @@ garonne_1 = hydro_doc.CreateObject( KIND_CALCULATION ) garonne_1.SetName( "garonne_1" ) garonne_1.SetAssignmentMode( HYDROData_CalculationCase.MANUAL ) -garonne_1.SetAssignmentLandCoverMode( HYDROData_CalculationCase.AUTOMATIC ) garonne_1.AddGeometryObject( litMineur ) garonne_1.AddGeometryObject( domaineEtendu ) garonne_1.AddGeometryObject( litMajeur )