]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PythonAPI/model/dump/DumpAssistant.py
Salome HOME
Implement ExportToGEOM via exportToXAO. Fix the issue #2198.
[modules/shaper.git] / src / PythonAPI / model / dump / DumpAssistant.py
index f56860b041d968cb95d73b4ab6735ba97c92081a..680ae82f43c2da6828e4e7fa52aed7d84eb0772a 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)