Salome HOME
Building a version which will be tagged PreV2_0_0 working with KERNEL V1_4_0.
[modules/med.git] / src / MEDMEM_SWIG / med_test_skin.py
index 79d95b42b3d83088d0224b2b99c1ea06dc8bd549..22c012559ba602cc72b6083a01ae2699188b13c7 100644 (file)
@@ -2,8 +2,14 @@
 #% The med file can be obtained by running create_mesh_c3h8q4 executable
 
 from libMEDMEM_Swig import *
+import os
+#
+#befor running this script, please be sure about the path the file fileName
+#
+filePath=os.environ["MED_ROOT_DIR"]
+filePath=filePath+"/share/salome/resources/"
 
-medFile = "cube_hexa8_quad4.med"
+medFile = filePath + "cube_hexa8_quad4.med"
 
 md = MED()