IPAL9381: replace import of smeshpy by import of smesh

This commit is contained in:
jfa 2005-07-01 10:47:28 +00:00
parent b33324fe60
commit ed582bafc2
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
from meshpy import * from smesh import *
def BuildGroupLyingOn(theMesh, theElemType, theName, theShape): def BuildGroupLyingOn(theMesh, theElemType, theName, theShape):
aFilterMgr = smesh.CreateFilterManager() aFilterMgr = smesh.CreateFilterManager()

View File

@ -26,7 +26,7 @@
import salome import salome
import geompy import geompy
import smeshpy import smesh
import SMESH import SMESH
import StdMeshers import StdMeshers
@ -59,7 +59,7 @@ ide = geompy.addToStudyInFather(face, edge, name)
# ---- launch SMESH, init a Mesh with the box # ---- launch SMESH, init a Mesh with the box
gen = smeshpy.smeshpy() gen = smesh.smesh()
mesh = gen.CreateMesh(idb) mesh = gen.CreateMesh(idb)
print "-------------------------- create Hypothesis" print "-------------------------- create Hypothesis"