]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
- Modifing Geometry and Mesh Python scripts from SALOME 6 and before
authormpa <mpa@opencascade.com>
Tue, 19 Nov 2013 10:18:29 +0000 (10:18 +0000)
committermpa <mpa@opencascade.com>
Tue, 19 Nov 2013 10:18:29 +0000 (10:18 +0000)
doc/salome/gui/GEOM/input/tui_importexport_geom_objs.doc

index 5a02d6460c177d749d516886a8d566b7e43afb1c..b4dc9afa0cd11dbaa6f03a02dd0ed894e560774b 100644 (file)
@@ -2,8 +2,11 @@
 <br><h2>Creation of ExportXAO</h2>
 
 \code
-import geompy
 import salome
+import GEOM
+from salome.geom import geomBuilder
+geompy = geomBuilder.New(salome.myStudy)
+
 gg = salome.ImportComponentGUI("GEOM")
 
 # create ExportXAO object