From 15fed18c3eedf856b8b75e5ca8eb1d417fda6631 Mon Sep 17 00:00:00 2001 From: nri Date: Fri, 16 May 2003 13:24:42 +0000 Subject: [PATCH] NRI : Correction Module name. --- src/GEOM_SWIG/GEOM_example3.py | 2 +- src/GEOM_SWIG/geompy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GEOM_SWIG/GEOM_example3.py b/src/GEOM_SWIG/GEOM_example3.py index 70130a7aa..9a4d91ea5 100644 --- a/src/GEOM_SWIG/GEOM_example3.py +++ b/src/GEOM_SWIG/GEOM_example3.py @@ -15,7 +15,7 @@ from time import sleep geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM") myBuilder = salome.myStudy.NewBuilder() -gg = salome.ImportComponentGUI("Geometry") +gg = salome.ImportComponentGUI("GEOM") point0 = geom.MakePointStruct(0.,0.,0.) pointz1 = geom.MakePointStruct(0.,0.,1.) diff --git a/src/GEOM_SWIG/geompy.py b/src/GEOM_SWIG/geompy.py index 2805bcf38..1cc6a4f67 100644 --- a/src/GEOM_SWIG/geompy.py +++ b/src/GEOM_SWIG/geompy.py @@ -17,7 +17,7 @@ geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM") geom.GetCurrentStudy(salome.myStudyId) myBuilder = salome.myStudy.NewBuilder() -gg = salome.ImportComponentGUI("Geometry") +gg = salome.ImportComponentGUI("GEOM") father = salome.myStudy.FindComponent("GEOM") if father is None: -- 2.39.2