X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FTools%2FblocFissure%2Fgmu%2FcompoundFromList.py;h=8f1ed19629d4582e35c827b9c476c94c264da8ce;hp=6787b252045ac7e9f60cde6889a320b04165c79b;hb=a8380feec5b500ecfb5d0254e9126103539f4a78;hpb=cfa45d551fd47dd3648dea6e50ac74329b0d9e5d diff --git a/src/Tools/blocFissure/gmu/compoundFromList.py b/src/Tools/blocFissure/gmu/compoundFromList.py index 6787b2520..8f1ed1962 100644 --- a/src/Tools/blocFissure/gmu/compoundFromList.py +++ b/src/Tools/blocFissure/gmu/compoundFromList.py @@ -2,6 +2,9 @@ import logging from geomsmesh import geompy +from geomsmesh import geomPublish +from geomsmesh import geomPublishInFather +import initLog def compoundFromList(elements, nom=None): """ @@ -21,7 +24,7 @@ def compoundFromList(elements, nom=None): for i,a in enumerate(shapeList): nom = nom +"%d"%i logging.debug('nom: %s',nom) - geompy.addToStudy(a, nom) + geomPublish(initLog.debug, a, nom) shapeCompound = None if len(shapeList) > 0: