From: prascle Date: Tue, 19 Feb 2013 11:27:10 +0000 (+0000) Subject: PR: dump new init mode X-Git-Tag: distribGeom_V6main_dump X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6582d48bb9401c77f25fdaead7dd8af45ceaa575;p=modules%2Fgeom.git PR: dump new init mode --- 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);