From 03335084a6a8286c16af9f416fb7e1a6df936ca6 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 2 Dec 2015 12:42:04 +0300 Subject: [PATCH] Add missing import SMESH --- src/SMESH_SWIG/StdMeshersBuilder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SMESH_SWIG/StdMeshersBuilder.py b/src/SMESH_SWIG/StdMeshersBuilder.py index d9ad9bf5e..6dd91e288 100644 --- a/src/SMESH_SWIG/StdMeshersBuilder.py +++ b/src/SMESH_SWIG/StdMeshersBuilder.py @@ -1417,6 +1417,7 @@ class StdMeshersBuilder_UseExistingElements_1D2D(Mesh_Algorithm): # @param UseExisting if ==true - searches for the existing hypothesis created with # the same parameters, else (default) - creates a new one def SourceFaces(self, groups, toCopyMesh=False, toCopyGroups=False, UseExisting=False): + import SMESH compFun = lambda hyp, args: ( hyp.GetSourceFaces() == args[0] and \ hyp.GetCopySourceMesh() == args[1], args[2] ) hyp = self.Hypothesis("ImportSource2D", [groups, toCopyMesh, toCopyGroups], -- 2.39.2