Fix incorrect doc example

This commit is contained in:
gdd 2012-08-20 15:02:39 +00:00
parent a3bc9d737b
commit 68d4198983

View File

@ -164,8 +164,8 @@ mesh.RemoveElements(anIds)
aBorders = mesh.GetFreeBorders() aBorders = mesh.GetFreeBorders()
# create groups # create groups
aGroupF = mesh.CreateGroup(SMESH.FACE, "Faces with free edges") aGroupF = mesh.CreateEmptyGroup(smesh.FACE, "Faces with free edges")
aGroupN = mesh.CreateGroup(SMESH.NODE, "Nodes on free edges") aGroupN = mesh.CreateEmptyGroup(smesh.NODE, "Nodes on free edges")
# fill groups with elements, corresponding to the criterion # fill groups with elements, corresponding to the criterion
print "" print ""