X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fmed.git;a=blobdiff_plain;f=src%2FMEDCalc%2Ftest%2Ftui%2Fdeflection_shape.py;h=2536e3da060d95a949faa9bb40b3c7a65acb8cea;hp=96da7b31ff95e9d821ee100fbe2ae6ae1149ad82;hb=be8ad6f36a850c685bd5f12bfad0e29fdc52bad8;hpb=1db2d030906722076cc5ca1ee03a0ef65e4e7e60 diff --git a/src/MEDCalc/test/tui/deflection_shape.py b/src/MEDCalc/test/tui/deflection_shape.py index 96da7b31f..2536e3da0 100644 --- a/src/MEDCalc/test/tui/deflection_shape.py +++ b/src/MEDCalc/test/tui/deflection_shape.py @@ -33,7 +33,7 @@ source_id = medcalc.LoadDataSource(datafile) # For "beton_arme_30_officiel.med", field 7 = __DEPL__ (NODES) # For "deplacements", field 0 = DEP1 (NODES) -presentation_id = medcalc.MakeDeflectionShape(accessField(7), viewMode=MEDCALC.VIEW_MODE_REPLACE, +presentation_id = medcalc.MakeDeflectionShape(accessField(0), viewMode=MEDCALC.VIEW_MODE_REPLACE, colorMap=MEDCALC.COLOR_MAP_BLUE_TO_RED_RAINBOW, scalarBarRange=MEDCALC.SCALAR_BAR_CURRENT_TIMESTEP )