print 'Importing "TimeStamps.med"................',
myVisu = visu_gui.myVisu
+myVisu.SetCurrentStudy(salome.myStudy)
myResult = myVisu.ImportFile(medFile)
if myResult is None : print "Error"
else : print "OK"
aDelay = 1
+myVisu.SetCurrentStudy(salome.myStudy)
+
myViewManager = myVisu.GetViewManager();
myView = myViewManager.Create3DView();
# Module : VISU
#
from batchmode_salome import *
+import salome
import visu
myVisu = visu.Initialize(orb,naming_service,lcc,myStudyManager,myStudy,10)
if myVisu is None:
raise RuntimeError, "myVisu is none, VISU component is not loaded or found"
-
+
+myVisu.SetCurrentStudy(salome.myStudy)
+
def try_mesh_parameters(theMeshPattern):
aResult = []
if theMeshPattern is None : return aResult ;
from VISU import *
from batchmode_visu_table import *
+myVisu.SetCurrentStudy(salome.myStudy)
+
myViewMan = myVisu.GetViewManager()
myTable = myViewMan.CreateTableView(myVisuTableReal)
#mySession = batchmode_visu.mySession
+myVisu.SetCurrentStudy(salome.myStudy)
+
myViewManager = myVisu.GetViewManager();
myView = myViewManager.Create3DView();
aDelay = 0
+myVisu.SetCurrentStudy(salome.myStudy)
+
myViewManager = myVisu.GetViewManager();
myView = myViewManager.Create3DView();
aDelay = 0
+myVisu.SetCurrentStudy(salome.myStudy)
+
myViewManager = myVisu.GetViewManager();
myView = myViewManager.Create3DView();
import SALOMEDS
from visu_gui import *
+myVisu.SetCurrentStudy(salome.myStudy)
myViewManager = myVisu.GetViewManager();
myView = myViewManager.Create3DView();
import VISU
from visu_gui import *
+myVisu.SetCurrentStudy(salome.myStudy)
myViewManager = myVisu.GetViewManager();
myView = myViewManager.CreateXYPlot();
#med_obj = getMedObjectFromStudy()
myVisu = salome.lcc.FindOrLoadComponent("FactoryServer", "VISU")
+myVisu.SetCurrentStudy(salome.myStudy)
print "Use importMed(medFile) or importMedFrom(medDir,medFile) functions !"
#myField = getFieldObjectFromStudy(2,1)
import VISU
from visu_gui import *
+myVisu.SetCurrentStudy(salome.myStudy)
+
aTableFile = os.getenv('DATA_DIR') + '/Tables/table_test.xls'
aTableSObject = myVisu.ImportTables(aTableFile)
import visu_gui
myVisu = visu_gui.myVisu
+myVisu.SetCurrentStudy(salome.myStudy)
+
medFile = "pointe.med"
medFile = os.getenv('DATA_DIR') + '/MedFiles/' + medFile
print medFile
DELAY = 2
+myVisu.SetCurrentStudy(salome.myStudy)
+
myViewManager = myVisu.GetViewManager()
################################################
aDelay = 0
+myVisu.SetCurrentStudy(salome.myStudy)
+
myViewManager = myVisu.GetViewManager();
myView = myViewManager.Create3DView();
from visu_table import *
+myVisu.SetCurrentStudy(salome.myStudy)
+
myViewMan = myVisu.GetViewManager()
myTable = myViewMan.CreateTableView(myVisuTableReal)
#mySession = batchmode_visu.mySession
+myVisu.SetCurrentStudy(salome.myStudy)
+
myViewManager = myVisu.GetViewManager();
myView = myViewManager.Create3DView();
#%====================Stage1: Creating a study====================%
print "Creating a new study... "
+myVisu.SetCurrentStudy(salome.myStudy)
myVisu = visu_gui.myVisu
myVisu.SetCurrentStudy(salome.myStudy)