Sketcher: Documentation editorial change
This commit is contained in:
committed by
abdullahtahiriyo
parent
b0bc4b5dc6
commit
709c0b546f
@@ -460,12 +460,12 @@ If there is no such constraint an exception is raised.
|
||||
</Attribute>
|
||||
<Methode Name="setGeometryId">
|
||||
<Documentation>
|
||||
<UserDocu>switch a geometry to a construction line</UserDocu>
|
||||
<UserDocu>sets the GeometryId of the SketchGeometryExtension of the geometry with the provided GeoId</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getGeometryId">
|
||||
<Documentation>
|
||||
<UserDocu>switch a geometry to a construction line</UserDocu>
|
||||
<UserDocu>gets the GeometryId of the SketchGeometryExtension of the geometry with the provided GeoId</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
</PythonExport>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user