From 1e573241c52f15662d65e96f5b265d2dcc90d9c7 Mon Sep 17 00:00:00 2001 From: FEA-eng <59876896+FEA-eng@users.noreply.github.com> Date: Mon, 3 Feb 2025 17:47:01 +0100 Subject: [PATCH] FEM: Constraint transform - selection error message update (#19192) * FEM: Update TaskFemConstraintTransform.cpp --- src/Mod/Fem/Gui/TaskFemConstraintTransform.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/Mod/Fem/Gui/TaskFemConstraintTransform.cpp b/src/Mod/Fem/Gui/TaskFemConstraintTransform.cpp index df77b48205..fc1ab404c9 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintTransform.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintTransform.cpp @@ -382,12 +382,13 @@ void TaskFemConstraintTransform::addToSelection() } } if (Objects.empty()) { - QMessageBox::warning( - this, - tr("Selection error"), - tr("Only transformable faces can be selected! Apply displacement boundary " - "condition to surface first then apply local coordinate system to " - "surface")); + QMessageBox::warning(this, + tr("Selection error"), + tr("Only transformable faces can be selected! Apply a " + "displacement boundary " + "condition or a force load to a face first then apply " + "local coordinate system to " + "the face.")); Gui::Selection().clearSelection(); return; }