mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 02:00:35 +05:00
PR: dump new init mode
This commit is contained in:
parent
7965cd7261
commit
6582d48bb9
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user