Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e59cc2
)
Bug PAL7728 Thre is an error after trying to import "SMESH_test5.py" via python console.
OCC_development_01
author
enk
<enk@opencascade.com>
Tue, 18 Jan 2005 07:30:55 +0000
(07:30 +0000)
committer
enk
<enk@opencascade.com>
Tue, 18 Jan 2005 07:30:55 +0000
(07:30 +0000)
Note:
In the script used output directory for unv files with no write permissions.
Fix: Directory changed to "/tmp/"
src/SMESH_SWIG/SMESH_test5.py
patch
|
blob
|
history
diff --git
a/src/SMESH_SWIG/SMESH_test5.py
b/src/SMESH_SWIG/SMESH_test5.py
index 7259b6e35efd7852c84f91a421cf37d21935e19e..8a9e148dd186322d0f42241c09d4560f430bdd21 100644
(file)
--- a/
src/SMESH_SWIG/SMESH_test5.py
+++ b/
src/SMESH_SWIG/SMESH_test5.py
@@
-50,7
+50,8
@@
def ConvertMED2UNV(thePath,theFile) :
SetSObjName(anSObj,aFileName)
print anSObj.GetName()
- aFileName = thePath + theFile + "." + str(iMesh) + ".unv"
+ aOutPath = '/tmp/'
+ aFileName = aOutPath + theFile + "." + str(iMesh) + ".unv"
aMesh.ExportUNV(aFileName)
aMesh = smesh.CreateMeshesFromUNV(aFileName)
anSObj = salome.ObjectToSObject(aMesh)