<p class="whs2"># create a group by \r
adding elements with area > 20</p>\r
\r
-<p class="whs1">aGroup1 = mesh.CreateGroup(SMESH.FACE, \r
+<p class="whs1">aGroup1 = mesh.CreateEmptyGroup(SMESH.FACE, \r
"Area > 20")</p>\r
\r
<p class="whs1">aGroup1.Add(anIds)</p>\r
<p class="whs2"># create a group by \r
adding elements with area > 20</p>\r
\r
-<p class="whs1">aGroup1 = mesh.CreateGroup(SMESH.FACE, \r
+<p class="whs1">aGroup1 = mesh.CreateEmptyGroup(SMESH.FACE, \r
"Area > 20")</p>\r
\r
<p class="whs1">aGroup1.Add(anIds)</p>\r
<p class="whs2"># create a group by \r
adding elements with area < 60</p>\r
\r
-<p class="whs1">aGroup2 = mesh.CreateGroup(SMESH.FACE, \r
+<p class="whs1">aGroup2 = mesh.CreateEmptyGroup(SMESH.FACE, \r
"Area < 60")</p>\r
\r
<p class="whs1">aGroup2.Add(anIds)</p>\r