diff --git a/src/Mod/Sketcher/App/Constraint.h b/src/Mod/Sketcher/App/Constraint.h index 1714130e52..0fc9c57fa6 100644 --- a/src/Mod/Sketcher/App/Constraint.h +++ b/src/Mod/Sketcher/App/Constraint.h @@ -95,6 +95,9 @@ public: virtual void Restore(Base::XMLReader &/*reader*/); virtual PyObject *getPyObject(void); + + // Return presentation string. Will include units if HideUnits option is NOT selected. May still return units if rendered units are not the base units (i.e. a small dimension returned in mm instead of m). Only length untis may be hidden. + QString getPresentationString() const; Base::Quantity getPresentationValue() const; inline void setValue(double newValue) {