From 6582d48bb9401c77f25fdaead7dd8af45ceaa575 Mon Sep 17 00:00:00 2001 From: prascle Date: Tue, 19 Feb 2013 11:27:10 +0000 Subject: [PATCH] PR: dump new init mode --- src/GEOM/GEOM_Engine.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GEOM/GEOM_Engine.cxx b/src/GEOM/GEOM_Engine.cxx index 501909d7a..7d06054bb 100644 --- a/src/GEOM/GEOM_Engine.cxx +++ b/src/GEOM/GEOM_Engine.cxx @@ -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); -- 2.39.2