From 18689149637bdea971d30a9f0a3fb025abf0760c Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Fri, 20 Nov 2015 16:42:42 +0100 Subject: [PATCH] tests exemples ok --- doc/salome/examples/h008_simpleCase.py | 3 ++- doc/salome/examples/h009_normalCaseManual.py | 1 - doc/salome/examples/h010_normalCaseManualMesh.py | 1 - doc/salome/examples/h011_normalCaseManualInterpolZ.py | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) 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 ) -- 2.39.2