FEM: Constraint transform - selection error message update (#19192)

* FEM: Update TaskFemConstraintTransform.cpp
This commit is contained in:
FEA-eng
2025-02-03 17:47:01 +01:00
committed by GitHub
parent 11c77e4099
commit 1e573241c5

View File

@@ -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;
}