]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
PR: dump new init mode distribGeom_V6main_dump
authorprascle <prascle>
Tue, 19 Feb 2013 11:27:10 +0000 (11:27 +0000)
committerprascle <prascle>
Tue, 19 Feb 2013 11:27:10 +0000 (11:27 +0000)
src/GEOM/GEOM_Engine.cxx

index 501909d7a084270cbff3cb369f4cbf6bebda7592..7d06054bb217ed12d37b6f49e44510fb4b218f9a 100644 (file)
@@ -602,13 +602,13 @@ TCollection_AsciiString GEOM_Engine::DumpPython(int theDocID,
   }
 
   aScript  = "import GEOM\n";
-  aScript += "import geompy\n";
+  aScript += "import geompyDC\n";
   aScript += "import math\n";
   aScript += "import SALOMEDS\n\n";
   if( isMultiFile )
     aScript += "def RebuildData(theStudy):";
 
-  aScript += "\n\tgeompy.init_geom(theStudy)\n";
+  aScript += "\n\tgeompy = geompyDC.geomInstance(theStudy)\n";
 
   AddTextures(theDocID, aScript);