PR: dump new init mode

This commit is contained in:
prascle 2013-02-19 11:27:10 +00:00
parent 7965cd7261
commit 6582d48bb9

View File

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