From: mkr Date: Fri, 3 Nov 2006 13:06:06 +0000 (+0000) Subject: A one simple modification for TUI scripts. X-Git-Tag: V3_2_3~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=556780709c8c09fcda6ce061795e9c6e98136f76;p=modules%2Fvisu.git A one simple modification for TUI scripts. --- diff --git a/src/VISU_SWIG/visu_succcessive_animation.py b/src/VISU_SWIG/visu_succcessive_animation.py index 19b51004..08509e01 100644 --- a/src/VISU_SWIG/visu_succcessive_animation.py +++ b/src/VISU_SWIG/visu_succcessive_animation.py @@ -41,7 +41,7 @@ time.sleep(aDelay) medFile = "TimeStamps.med" myFieldName = "temperature" -medFile = os.getenv('DATA_DIR') + medFile +medFile = os.getenv('DATA_DIR') + '/MedFiles/' + medFile myResult = myVisu.ImportFile(medFile) anAnim = myVisu.CreateAnimation(myView); @@ -56,7 +56,7 @@ print "addField 1 : ", anAnim.addField(aSObj) medFile1 = "TimeStamps_import22.med" myFieldName1 = "pression" -medFile1 = os.getenv('DATA_DIR') + medFile1 +medFile1 = os.getenv('DATA_DIR') + '/MedFiles/' + medFile1 myResult1 = myVisu.ImportFile(medFile1) aSObj1 = myStudy.FindObjectIOR(myResult1.GetID())