Salome HOME
projects
/
modules
/
shaper_study.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
105743e
)
Allow in SHAPERSTUDY python dump to store files in the same folder with the exported...
author
mpv
<mpv@opencascade.com>
Fri, 7 Feb 2020 14:40:32 +0000
(17:40 +0300)
committer
mpv
<mpv@opencascade.com>
Fri, 7 Feb 2020 14:40:32 +0000
(17:40 +0300)
src/PY/SHAPERSTUDY.py
patch
|
blob
|
history
diff --git
a/src/PY/SHAPERSTUDY.py
b/src/PY/SHAPERSTUDY.py
index d5a9630adbb54cf8ab3c981bce49a11b5fd96fe6..b31fdd1b8a472ab364a433c5a2aeacabbe81f0de 100644
(file)
--- a/
src/PY/SHAPERSTUDY.py
+++ b/
src/PY/SHAPERSTUDY.py
@@
-420,6
+420,8
@@
class SHAPERSTUDY(SHAPERSTUDY_ORB__POA.Gen,
aXAO = StudyData_Swig.StudyData_XAO()
aXAO.SetShape(aDeadShape.getShape())
anArchiveName = "archive_" + str(anArchiveNum) + ".xao"
+ if len(aStudy.GetDumpPath()):
+ anArchiveName = aStudy.GetDumpPath() + "/" + anArchiveName
anArchiveNum += 1
aDeadVarName = self.UniqueDumpName(aDeadShape.GetName(), aDSO.GetID())
aDeadString += aDeadVarName + ", "