Salome HOME
0023125: EDF 11112 GEOM: Choose the unity of length when exporting to STEP
[modules/geom.git] / src / STEPPlugin / STEPPlugin_IECallBack.cxx
old mode 100755 (executable)
new mode 100644 (file)
index bc5c0ff..ac08697
@@ -52,7 +52,9 @@ STEPPlugin_IECallBack::Export( int                            theDocId,
                               const TCollection_AsciiString& theFormatName )
 {
   STEPPlugin_IOperations* aPluginOperations = STEPPlugin_OperationsCreator::get( GetEngine(), theDocId );
-  aPluginOperations->ExportSTEP( theOriginal, theFileName );
+  const STEPPlugin_IOperations::LengthUnit aUnit = STEPPlugin_IOperations::LengthUnit_Meter;
+
+  aPluginOperations->ExportSTEP( theOriginal, theFileName, aUnit );
   return true;
 }