Salome HOME
Task #3235: Projection without link to source shape
[modules/shaper.git] / src / SketchAPI / SketchAPI_Sketch.h
index 9e6a2dc206895b3f31b7cfe13a0b8a52b48f0222..899a2aab7fd23ff5ecccb690635948c86b43f213 100644 (file)
@@ -358,12 +358,8 @@ public:
   SKETCHAPI_EXPORT
   std::shared_ptr<SketchAPI_Projection> addProjection(
       const ModelHighAPI_Selection & theExternalFeature,
-      bool theKeepResult = false);
-
-  /// Add projection
-  SKETCHAPI_EXPORT
-  std::shared_ptr<SketchAPI_Projection> addProjection(const std::wstring & theExternalName,
-                                                      bool theKeepResult = false);
+      bool keepResult = false,
+      bool keepRefToOriginal = true);
 
   /// Add mirror
   SKETCHAPI_EXPORT