mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 18:20:35 +05:00
0021256: EDF STUDY: Python dump in a single file (continued)
if( isMultiFile ) aScript += "def RebuildData(theStudy):"; - else - aScript += "theStudy = salome.myStudy";
This commit is contained in:
parent
54c20f308c
commit
fe08cb5e34
@ -584,8 +584,7 @@ TCollection_AsciiString GEOM_Engine::DumpPython(int theDocID,
|
||||
aScript += "import SALOMEDS\n\n";
|
||||
if( isMultiFile )
|
||||
aScript += "def RebuildData(theStudy):";
|
||||
else
|
||||
aScript += "theStudy = salome.myStudy";
|
||||
|
||||
aScript += "\n\tgeompy.init_geom(theStudy)\n";
|
||||
|
||||
AddTextures(theDocID, aScript);
|
||||
|
Loading…
Reference in New Issue
Block a user