Salome HOME
Issue #2622: Weak naming
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeSelection.h
index 9829bde7981cc73f8efa15b205a43dd53197a3e3..53e0151b8760f9943a73bc8aa73d13b6308b85d7 100644 (file)
@@ -108,6 +108,10 @@ class ModelAPI_AttributeSelection : public ModelAPI_Attribute
   virtual void selectSubShape(const std::string& theType,
                               const std::shared_ptr<GeomAPI_Pnt>& thePoint) = 0;
 
+  /// Selects sub-shape by weak naming index
+  virtual void selectSubShape(const std::string& theType,
+    const std::string& theContextName, const int theIndex) = 0;
+
   /// Returns true if recompute of selection become impossible
   virtual bool isInvalid() = 0;