mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 23:20:33 +05:00
0021256: EDF STUDY: Python dump in a single file (continued)
"import salome" in multyfile mode
This commit is contained in:
parent
7436d5ff08
commit
b83db6830f
@ -854,8 +854,10 @@ TCollection_AsciiString SMESH_Gen_i::DumpPython_impl
|
||||
}
|
||||
|
||||
// set initial part of aSript
|
||||
TCollection_AsciiString initPart;
|
||||
initPart += helper + "import " + aSmeshpy + ", SMESH, SALOMEDS\n";
|
||||
TCollection_AsciiString initPart = "import ";
|
||||
if ( isMultiFile )
|
||||
initPart += helper + "salome, ";
|
||||
initPart += aSmeshpy + ", SMESH, SALOMEDS\n";
|
||||
if ( importGeom && isMultiFile )
|
||||
{
|
||||
initPart += ("\n## import GEOM dump file ## \n"
|
||||
|
Loading…
Reference in New Issue
Block a user