X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=doc%2Fsalome%2Fexamples%2Ffilters_ex24.py;h=bab47e2a7f5da58fce099f495d322428196db7cc;hp=036ba037eed2264cc130aaee91bba5e281ae5bef;hb=54182913fbb9df65a3f4cc96f55db3618835ecd8;hpb=1cd84a9d45de44f8fd0af83dbe52d83b47131e04 diff --git a/doc/salome/examples/filters_ex24.py b/doc/salome/examples/filters_ex24.py index 036ba037e..bab47e2a7 100644 --- a/doc/salome/examples/filters_ex24.py +++ b/doc/salome/examples/filters_ex24.py @@ -7,6 +7,6 @@ mesh.Compute() # remove some volumes to have volumes with bare borders mesh.RemoveElements( mesh.GetElementsByType(VOLUME)[0:5] ) # get all volumes with bare borders -filter = smesh.GetFilter(smesh.VOLUME, smesh.FT_BareBorderVolume) +filter = smesh.GetFilter(SMESH.VOLUME, SMESH.FT_BareBorderVolume) ids = mesh.GetIdsFromFilter(filter) print "Volumes with bare borders:", ids