X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_SWIG%2FSMESH_box_tetra.py;h=4938de61eae577f5ed11bd78fac4e2916cef352e;hp=ad6b4b344a5d081bc332e82cc29a381cc5606923;hb=90e0893c89027a434e832eb72eeac85391b909e9;hpb=251f8c052dd12dd29922210dc901b295fe999a0e diff --git a/src/SMESH_SWIG/SMESH_box_tetra.py b/src/SMESH_SWIG/SMESH_box_tetra.py index ad6b4b344..4938de61e 100644 --- a/src/SMESH_SWIG/SMESH_box_tetra.py +++ b/src/SMESH_SWIG/SMESH_box_tetra.py @@ -1,5 +1,5 @@ # -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE # # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -90,8 +90,6 @@ print hypVolume.GetId() print hypVolume.GetMaxElementVolume() smesh.SetName(hypVolume, "MaxElementVolume_" + str(maxElementVolume)) -salome.sg.updateObjBrowser(1) - print "-------------------------- compute the mesh of the boxe" ret = mesh.Compute() print ret @@ -108,3 +106,5 @@ if ret != 0: print "Number of tetrahedrons: ", mesh.NbTetras() else: print "probleme when computing the mesh" + +salome.sg.updateObjBrowser(True)