Salome HOME
Dump Python in the High Level Parameterized Geometry API (issue #1648)
[modules/shaper.git] / src / SketchAPI / SketchAPI_Point.cpp
index 10719adb55b7ac6071f3a05c3eb3df6240cd51af..4e44f259c2a70200cba00f40efaa09eb34b1ce11 100644 (file)
@@ -100,6 +100,9 @@ void SketchAPI_Point::setByExternalName(const std::string & theExternalName)
 
 void SketchAPI_Point::dump(ModelHighAPI_Dumper& theDumper) const
 {
+  if (isCopy())
+    return; // no need to dump copied feature
+
   FeaturePtr aBase = feature();
   const std::string& aSketchName = theDumper.parentName(aBase);