diff --git a/resources/SMESH_en.xml b/resources/SMESH_en.xml
index b04e051f2..e1bb694bf 100644
--- a/resources/SMESH_en.xml
+++ b/resources/SMESH_en.xml
@@ -41,6 +41,7 @@
+
@@ -198,6 +199,7 @@
+
diff --git a/resources/SMESH_fr.xml b/resources/SMESH_fr.xml
index d0318c03b..5c29ab6ec 100644
--- a/resources/SMESH_fr.xml
+++ b/resources/SMESH_fr.xml
@@ -41,6 +41,7 @@
+
@@ -198,6 +199,7 @@
+
diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx
index 3d20ebe47..5f56add8f 100644
--- a/src/SMESHGUI/SMESHGUI.cxx
+++ b/src/SMESHGUI/SMESHGUI.cxx
@@ -3156,6 +3156,28 @@ bool SMESHGUI::OnGUIEvent(int theCommandID, QAD_Desktop * parent)
break;
}
+ case 5034: // HYPOTHESIS - LENGTH FROM EDGES
+ {
+ SMESH::SMESH_Hypothesis_var Hyp;
+ try
+ {
+ Hyp = smeshGUI->myComponentMesh->CreateHypothesis("LengthFromEdges", smeshGUI->myStudyId);
+
+ if (!Hyp->_is_nil())
+ {
+ SALOMEDS::SObject_var SHyp = smeshGUI->myStudyAPI.AddNewHypothesis(Hyp);
+ smeshGUI->myStudyAPI.SetName(SHyp, "LengthFromEdges");
+ }
+ }
+ catch(const SALOME::SALOME_Exception & S_ex)
+ {
+ QtCatchCorbaException(S_ex);
+ }
+ smeshGUI->myActiveStudy->updateObjBrowser(true);
+
+ break;
+ }
+
case 6016: // CONTROLS
case 6015:
case 6014: