X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fexamples%2Ffilters_ex25.py;h=06862c75fa356cb087ba7fc062970e9ed49eca5a;hb=193c49c87753b6ccabb2b5e6dc935aa480d2d43e;hp=7e4489848da369a7235e87e975b206d9ed277173;hpb=9a54694a0ab1e5cbc558a35c4606ceea4f7af2ef;p=modules%2Fsmesh.git diff --git a/doc/salome/examples/filters_ex25.py b/doc/salome/examples/filters_ex25.py index 7e4489848..06862c75f 100644 --- a/doc/salome/examples/filters_ex25.py +++ b/doc/salome/examples/filters_ex25.py @@ -5,6 +5,6 @@ from SMESH_mechanic import * mesh.Tetrahedron() mesh.Compute() # get all over-constrained volumes -filter = smesh.GetFilter(smesh.VOLUME, smesh.FT_OverConstrainedVolume) +filter = smesh.GetFilter(SMESH.VOLUME, SMESH.FT_OverConstrainedVolume) ids = mesh.GetIdsFromFilter(filter) print "Over-constrained volumes:", ids