Salome HOME
Merge remote-tracking branch 'origin/cbr/export_to_geom_via_xao'
[modules/shaper.git] / src / PythonAPI / model / dump / DumpAssistant.py
index 0cdebfdfefe8b2e29eaf0b65026fc2cd59e74297..5cb8cd081073ef6cbde2bd33ef13cf4d6015f446 100644 (file)
@@ -61,8 +61,9 @@ class DumpAssistant(ModelHighAPI.ModelHighAPI_Dumper):
         aFeatureKind = theFeature.getKind()
         if aFeatureKind in self.myFeatures:
             # Dump only feature created by user (in history).
+            # Also dump Export features (hard-coded here in order not to change the data model).
             # For all other features, just keep their name.
-            if theForce or theFeature.isInHistory():
+            if theForce or theFeature.isInHistory() or aFeatureKind=="Export":
                 self.myFeatures[aFeatureKind](theFeature).dump(self)
             else:
                 self.name(theFeature)