From: nge Date: Thu, 8 Oct 2009 16:13:19 +0000 (+0000) Subject: Correction in BLSurf script: geometrical object must be published in study to be... X-Git-Tag: V5_1_3rc1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e028757320734b1d3b681ec50af6fc1fc6de5d6c;p=modules%2Fsmesh.git Correction in BLSurf script: geometrical object must be published in study to be used with sizemaps. --- diff --git a/doc/salome/gui/SMESH/input/tui_defining_blsurf_hypotheses.doc b/doc/salome/gui/SMESH/input/tui_defining_blsurf_hypotheses.doc index edad0dbe7..3faba3da5 100644 --- a/doc/salome/gui/SMESH/input/tui_defining_blsurf_hypotheses.doc +++ b/doc/salome/gui/SMESH/input/tui_defining_blsurf_hypotheses.doc @@ -19,6 +19,11 @@ Face_1 = geompy.SubShapeAllSorted(box, geompy.ShapeType["FACE"])[0] Edge_1 = geompy.SubShapeAllSorted(box, geompy.ShapeType["EDGE"])[0] Vertex_1 = geompy.SubShapeAllSorted(box, geompy.ShapeType["VERTEX"])[0] +# /!\ Geom object with sizemaps on them must be published in study +geompy.addToStudyInFather(box,Face_1, "Face_1") +geompy.addToStudyInFather(box,Edge_1, "Edge_1") +geompy.addToStudyInFather(box,Vertex_1, "Vertex_1") + # create a mesh on the box blsurfMesh = smesh.Mesh(box,"box: BLSurf mesh")