mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
Bug PAL7728 Thre is an error after trying to import "SMESH_test5.py" via python console.
Note: In the script used output directory for unv files with no write permissions. Fix: Directory changed to "/tmp/"
This commit is contained in:
parent
1e59cc2426
commit
75e4a331f5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user