Salome HOME
IMP 0021064: correct implementation
[modules/geom.git] / src / GEOMImpl / GEOMImpl_IInsertOperations.cxx
index efb8255fa11b2e6e157c705ffe7817e0fd29dd60..02b601a32449a75beb8959ffecdc9ba026f4da31 100644 (file)
@@ -243,7 +243,7 @@ Handle(GEOM_Object) GEOMImpl_IInsertOperations::Import
 
   //Make a Python command
   if( theFormatName != "IGES_UNIT" ) {
-    GEOM::TPythonDump(aFunction) << result << " = geompy.Import(\""
+    GEOM::TPythonDump(aFunction) << result << " = geompy.ImportFile(\""
       << theFileName.ToCString() << "\", \"" << theFormatName.ToCString() << "\")";
   }