#include "VTKPlugin_IExport.hxx"
// KERNEL includes
+#include <Basics_DirUtils.hxx>
#include <utilities.h>
// GEOM includes
}
//Make a Python command
+ std::string convFileName = Kernel_Utils::BackSlashToSlash(theFileName.ToCString());
GEOM::TPythonDump(aFunction) << "geompy.ExportVTK(" << theOriginal << ", \""
- << theFileName.ToCString() << "\", " << theDeflection << ")";
+ << convFileName.c_str() << "\", " << theDeflection << ")";
SetErrorCode(OK);
}