From 1eb1b5a6ee699344fe0658744acc408af1d936bb Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 20 Dec 2007 06:55:53 +0000 Subject: [PATCH] fix the previous revision - aMesh = Mesh(self.smeshpyD, self.geompyD, aSmeshMesh) + aMesh = Mesh(self, self.geompyD, aSmeshMesh) --- src/SMESH_SWIG/smeshDC.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index f00e853d3..5c97f270e 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -231,7 +231,7 @@ class smeshDC(SMESH._objref_SMESH_Gen): # @return an instance of Mesh class def CreateMeshesFromUNV( self,theFileName ): aSmeshMesh = SMESH._objref_SMESH_Gen.CreateMeshesFromUNV(self,theFileName) - aMesh = Mesh(self.smeshpyD, self.geompyD, aSmeshMesh) + aMesh = Mesh(self, self.geompyD, aSmeshMesh) return aMesh ## Create Mesh object(s) importing data from given MED file @@ -240,7 +240,7 @@ class smeshDC(SMESH._objref_SMESH_Gen): aSmeshMeshes, aStatus = SMESH._objref_SMESH_Gen.CreateMeshesFromMED(self,theFileName) aMeshes = [] for iMesh in range(len(aSmeshMeshes)) : - aMesh = Mesh(self.smeshpyD, self.geompyD, aSmeshMeshes[iMesh]) + aMesh = Mesh(self, self.geompyD, aSmeshMeshes[iMesh]) aMeshes.append(aMesh) return aMeshes, aStatus @@ -248,7 +248,7 @@ class smeshDC(SMESH._objref_SMESH_Gen): # @return an instance of Mesh class def CreateMeshesFromSTL( self, theFileName ): aSmeshMesh = SMESH._objref_SMESH_Gen.CreateMeshesFromSTL(self,theFileName) - aMesh = Mesh(self.smeshpyD, self.geompyD, aSmeshMesh) + aMesh = Mesh(self, self.geompyD, aSmeshMesh) return aMesh ## From SMESH_Gen interface -- 2.39.2