anEntity = VISU.NODE
aTimeStampId = 1
-medFile = os.getenv('KERNEL_ROOT_DIR') + '/examples/' + medFile
+medFile = os.getenv('DATA_DIR') + '/MedFiles/' + medFile
myResult = myVisu.ImportFile(medFile)
print "myView.FitAll()"
myView.FitAll();
-aWidth = myView.GetViewWidth()
-print "a View Width before = ", aWidth
-myView.SetViewWidth(aWidth/2)
-aWidth = myView.GetViewWidth()
-print "a View Width after = ", aWidth
+#aWidth = myView.GetViewWidth()
+#print "a View Width before = ", aWidth
+#myView.SetViewWidth(aWidth/2)
+#aWidth = myView.GetViewWidth()
+#print "a View Width after = ", aWidth
myView = myViewManager.Create3DView();
myView.SetTitle("Here we will display CutPlanes")
+myView.SplitRight()
+
print "myView.SetBackground(...)"
aColor = SALOMEDS.Color(0.0,0.7,0.0)
myView.SetBackground(aColor);
medFile = "TimeStamps.med"
myFieldName = "vitesse";
-medFile = os.getenv('KERNEL_ROOT_DIR') + '/examples/' + medFile
+medFile = os.getenv('DATA_DIR') + '/MedFiles/' + medFile
myResult = myVisu.ImportFile(medFile)
anAnim = myVisu.CreateAnimation(myView);