- std::shared_ptr<GeomAPI_Shape> getLine(SketchPlugin_Constraint* theFeature,
- const std::string& theAttrName);
+ ObjectPtr getResult(SketchPlugin_Constraint* theFeature,
+ const std::string& theAttrName);
+
+ std::shared_ptr<GeomAPI_Shape> getShape(ObjectPtr theObject);