From: dmv Date: Thu, 18 Mar 2010 09:14:41 +0000 (+0000) Subject: 0020786: [CEA] Visu example fails X-Git-Tag: V5_1_main_20100319 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=60bd670d210273a5f8e22415738cf17908d22187;p=modules%2Fvisu.git 0020786: [CEA] Visu example fails --- diff --git a/src/VISU_SWIG/VISU_Example_06.py b/src/VISU_SWIG/VISU_Example_06.py index 9c3535c5..e353c5c8 100644 --- a/src/VISU_SWIG/VISU_Example_06.py +++ b/src/VISU_SWIG/VISU_Example_06.py @@ -50,7 +50,7 @@ if not myComponent: # >>> Import a tables from a file ============================================ aFileName = os.getenv("DATA_DIR") + "/Tables/tables_test.xls" -sobj = myVisu.ImportTables(aFileName) +sobj = myVisu.ImportTables(aFileName, False) # >>> Create container and insert curves ===================================== myContainer = myVisu.CreateContainer() diff --git a/src/VISU_SWIG/visu_pointmap3d.py b/src/VISU_SWIG/visu_pointmap3d.py index 81707c1c..172dd4a3 100755 --- a/src/VISU_SWIG/visu_pointmap3d.py +++ b/src/VISU_SWIG/visu_pointmap3d.py @@ -29,7 +29,7 @@ myVisu.SetCurrentStudy(salome.myStudy) aTableFile = os.getenv('DATA_DIR') + '/Tables/table_test.xls' -aTableSObject = myVisu.ImportTables(aTableFile) +aTableSObject = myVisu.ImportTables(aTableFile, False) aTable = None if aTableSObject: