Salome HOME
Correction in BLSurf script: geometrical object must be published in study to be...
authornge <nge>
Thu, 8 Oct 2009 16:13:19 +0000 (16:13 +0000)
committernge <nge>
Thu, 8 Oct 2009 16:13:19 +0000 (16:13 +0000)
doc/salome/gui/SMESH/input/tui_defining_blsurf_hypotheses.doc

index edad0dbe7cae75586f9ccbd37756ada06cd1a8a9..3faba3da55459025e19e5b19e8b6d33a7eb4a50f 100644 (file)
@@ -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")