From: nri Date: Wed, 16 Jul 2003 20:16:45 +0000 (+0000) Subject: NRI : Correction of MED import !!!. X-Git-Tag: V_02092003~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=06d1d549e002357ec27489db9818427dc3771262;p=modules%2Fvisu.git NRI : Correction of MED import !!!. --- diff --git a/src/VISU_SWIG/batchmode_visu.py b/src/VISU_SWIG/batchmode_visu.py index cc9f9552..a63e6350 100644 --- a/src/VISU_SWIG/batchmode_visu.py +++ b/src/VISU_SWIG/batchmode_visu.py @@ -7,15 +7,6 @@ # File : batchmode_visu.py # Module : VISU -import os -import re -from time import sleep - -import VISU -import SALOMEDS -import SALOME_MED -from omniORB import CORBA - from batchmode_salome import * import visu diff --git a/src/VISU_SWIG/visu.py b/src/VISU_SWIG/visu.py index 73af65e1..7401f121 100644 --- a/src/VISU_SWIG/visu.py +++ b/src/VISU_SWIG/visu.py @@ -18,6 +18,10 @@ from omniORB import CORBA from string import * from time import sleep +#NRI : interface MED dans le Module Engines !!!! +import MED_idl +import Med_Gen_idl + myORB = None myNamingService = None myLifeCycleCORBA = None @@ -148,7 +152,7 @@ def CreatePrsForMed(theVisu, theFileName, thePrsTypeList, thePictureDir, thePict # try: global myLifeCycleCORBA print "lcc.FindOrLoadComponent...", - aMedComp = myLifeCycleCORBA.FindOrLoadComponent("FactoryServer", "Med") + aMedComp = myLifeCycleCORBA.FindOrLoadComponent("FactoryServer", "MED") if aMedComp is None : print "Error" else : print "OK"