BLSURF_Parameters.SetPhySize( 5 )
BLSURF_Parameters.SetPreCADMergeEdges( True )
BLSURF_Parameters.SetPreCADProcess3DTopology( True )
+BLSURF_Parameters.SetPreCADOptionValue( 'remove_tiny_uv_edges', 'yes' )
Mesh_1.Compute()
nodes = list(set(nodes))
-Mesh_1.MakeGroupByIds("nodes", SMESH.NODE, nodes)
+nodesGroup = Mesh_1.MakeGroupByIds("nodes", SMESH.NODE, nodes)
-assert(len(nodes) == 1)
+assert nodesGroup.Size() == 1, nodesGroup.GetIDs()
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(1)
+ salome.sg.updateObjBrowser(True)