From: adv Date: Wed, 15 Jan 2014 11:13:36 +0000 (+0000) Subject: Export of model to python script. X-Git-Tag: BR_hydro_v_1_0~94 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1a196a22bf7f1f8ae3ce35be2c18adc680afbd51;p=modules%2Fhydro.git Export of model to python script. --- diff --git a/src/HYDROData/HYDROData_Document.cxx b/src/HYDROData/HYDROData_Document.cxx index 408403b9..a96ac998 100644 --- a/src/HYDROData/HYDROData_Document.cxx +++ b/src/HYDROData/HYDROData_Document.cxx @@ -195,14 +195,16 @@ bool HYDROData_Document::DumpToPython( const QString& theFileName ) const // Dump all model objects to Python script aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_IMAGE ); + aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_POLYLINEXY ); aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_BATHYMETRY ); - aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_ARTIFICIAL_OBJECT ); - aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_NATURAL_OBJECT ); + aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_PROFILE ); + aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_POLYLINE ); + aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_IMMERSIBLE_ZONE ); + aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_STREAM ); + aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_CHANNEL ); + aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_DIGUE ); aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_OBSTACLE ); aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_CALCULATION ); - aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_POLYLINE ); - aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_PROFILE ); - aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_ALTITUDE ); return aRes; }