X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fexamples%2Ffilters_ex30.py;h=9d161a763715dbfde81625189d0d9ecaa277303b;hb=1a88a8f6658e4663f7bacfd6be57b7a3cbaa7248;hp=19c213810bbcc43a11247f56caaabe3deaf2a2a5;hpb=9a54694a0ab1e5cbc558a35c4606ceea4f7af2ef;p=modules%2Fsmesh.git diff --git a/doc/salome/examples/filters_ex30.py b/doc/salome/examples/filters_ex30.py index 19c213810..9d161a763 100644 --- a/doc/salome/examples/filters_ex30.py +++ b/doc/salome/examples/filters_ex30.py @@ -7,6 +7,6 @@ spline_1 = geompy.MakeInterpol([p4,p6,p3,p1]) surface_1 = geompy.MakePrismVecH( spline_1, vz, 70.0 ) geompy.addToStudy(surface_1, "surface_1") # get all nodes which lie on the surface \a surface_1 -filter = smesh.GetFilter(smesh.NODE, smesh.FT_BelongToGenSurface, surface_1) +filter = smesh.GetFilter(SMESH.NODE, SMESH.FT_BelongToGenSurface, surface_1) ids = mesh.GetIdsFromFilter(filter) print "Number of nodes which lie on the surface surface_1:", len(ids)