diff --git a/src/Mod/Sketcher/App/SketchObjectPy.xml b/src/Mod/Sketcher/App/SketchObjectPy.xml index abca43ff6d..10ae0e8748 100644 --- a/src/Mod/Sketcher/App/SketchObjectPy.xml +++ b/src/Mod/Sketcher/App/SketchObjectPy.xml @@ -460,12 +460,12 @@ If there is no such constraint an exception is raised. - switch a geometry to a construction line + sets the GeometryId of the SketchGeometryExtension of the geometry with the provided GeoId - switch a geometry to a construction line + gets the GeometryId of the SketchGeometryExtension of the geometry with the provided GeoId diff --git a/src/Mod/Sketcher/App/SketchObjectPyImp.cpp b/src/Mod/Sketcher/App/SketchObjectPyImp.cpp index ab045293f6..c8ef3b1049 100644 --- a/src/Mod/Sketcher/App/SketchObjectPyImp.cpp +++ b/src/Mod/Sketcher/App/SketchObjectPyImp.cpp @@ -1802,7 +1802,7 @@ PyObject* SketchObjectPy::getGeometryId(PyObject *args) if (this->getSketchObjectPtr()->getGeometryId(Index, Id)) { std::stringstream str; - str << "Not able to set geometry Id of a geometry with the given index: " << Index; + str << "Not able to get geometry Id of a geometry with the given index: " << Index; PyErr_SetString(PyExc_ValueError, str.str().c_str()); Py_Return; } @@ -1819,7 +1819,7 @@ PyObject* SketchObjectPy::setGeometryId(PyObject *args) if (this->getSketchObjectPtr()->setGeometryId(Index, Id)) { std::stringstream str; - str << "Not able to set construction mode of a geometry with the given index: " << Index; + str << "Not able to set geometry Id of a geometry with the given index: " << Index; PyErr_SetString(PyExc_ValueError, str.str().c_str()); return 0; }