Salome HOME
0023125: EDF 11112 GEOM: Choose the unity of length when exporting to STEP
[modules/geom.git] / src / GEOM_I_Superv / GEOM_Superv_i.cc
index 449a3c6b8ae3c8a325ed2c5459ccc3952ffbdee1..662b2c76894adc3b0ed7a71bda8a0135934908eb 100644 (file)
@@ -3563,7 +3563,10 @@ void GEOM_Superv_i::ExportSTEP( GEOM::GEOM_Object_ptr theObject,
   beginService( " GEOM_Superv_i::ExportSTEP" );
   MESSAGE("GEOM_Superv_i::ExportSTEP");
   getSTEPPluginOp();
-  mySTEPOp->ExportSTEP( theObject, theFileName );
+
+  const GEOM::length_unit aUnit = GEOM::LU_METER;
+
+  mySTEPOp->ExportSTEP( theObject, theFileName, aUnit );
   endService( " GEOM_Superv_i::ExportSTEP" );
 }