]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #651: draft version of the dump python
authorasl <asl@opencascade.com>
Fri, 13 Nov 2015 11:55:23 +0000 (14:55 +0300)
committerasl <asl@opencascade.com>
Fri, 13 Nov 2015 11:55:23 +0000 (14:55 +0300)
src/HYDROData/HYDROData_LandCoverMap.cxx

index e1e4c818f22dc7c21b34348985bc2614a8982f20..53ac69ae893b51f151df04ecd3764d93d49f278c 100644 (file)
@@ -906,17 +906,11 @@ QStringList HYDROData_LandCoverMap::DumpToPython( MapOfTreatedObjects& theTreate
   QStringList aResList = dumpObjectCreation( theTreatedObjects );
   QString aName = GetObjPyName();
 
-  //Handle(HYDROData_PolylineXY) aHydAxis = GetHydraulicAxis();
-  //setPythonReferenceObject( theTreatedObjects, aResList, aHydAxis, "SetHydraulicAxis" );
+  QString aShapeFileName = aName + ".shp";
+  QString aDbfFileName = aName + ".dbf";
 
-  //HYDROData_SequenceOfObjects aSeqOfProfiles = GetProfiles();
-  //for ( int i = 1, aNb = aSeqOfProfiles.Size(); i <= aNb; ++i )
-  //{
-    //const Handle(HYDROData_Entity) aProfile = aSeqOfProfiles.Value( i );
-    //setPythonReferenceObject( theTreatedObjects, aResList, aProfile, "AddProfile" );
-  //}
-
-  //TODO
+  QString anAttr = "CODE_06";
+  //ExportDBF( aDbfFileName, anAttr, 
 
   return aResList;
 }