X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fexamples%2Ffilters_ex15.py;h=70c8cae5cd1b6daf1ca380994fb481dabb848b59;hb=1524b928e6f009541dfb251673585a8ecea7d651;hp=2044c60481747d4afadf43e585cfa26fc2654776;hpb=9a54694a0ab1e5cbc558a35c4606ceea4f7af2ef;p=modules%2Fsmesh.git diff --git a/doc/salome/examples/filters_ex15.py b/doc/salome/examples/filters_ex15.py index 2044c6048..70c8cae5c 100644 --- a/doc/salome/examples/filters_ex15.py +++ b/doc/salome/examples/filters_ex15.py @@ -2,6 +2,6 @@ # create mesh from SMESH_mechanic import * # get all over-constrained faces -filter = smesh.GetFilter(smesh.FACE, smesh.FT_OverConstrainedFace) +filter = smesh.GetFilter(SMESH.FACE, SMESH.FT_OverConstrainedFace) ids = mesh.GetIdsFromFilter(filter) -print "Over-constrained faces:", ids +print("Over-constrained faces:", ids)