]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Added initialization of geompy in method RebuidData (DumpPython)
authorsrn <srn@opencascade.com>
Fri, 18 Mar 2005 14:16:13 +0000 (14:16 +0000)
committersrn <srn@opencascade.com>
Fri, 18 Mar 2005 14:16:13 +0000 (14:16 +0000)
src/GEOM/GEOM_Engine.cxx

index 52e729de7198facde41efe201191c1e64f1b444b..07724f7a59c433c885a351e18739b30aa92aa3af 100644 (file)
@@ -366,6 +366,7 @@ TCollection_AsciiString GEOM_Engine::DumpPython(int theDocID,
  
   aScript = "import geompy\n\n";
   aScript += "def RebuildData(theStudy):";
+  aScript += "\tgeompy.init_geom(theStudy)";
   
   Handle(TDataStd_TreeNode) aNode, aRoot;
   Handle(GEOM_Function) aFunction;