Fem: Add properties to FemSolverObject

This commit is contained in:
marioalexis
2025-04-03 00:28:01 -03:00
parent ce068a71c4
commit bf79ca2a0f
2 changed files with 16 additions and 1 deletions

View File

@@ -35,7 +35,19 @@ using namespace App;
PROPERTY_SOURCE(Fem::FemSolverObject, App::DocumentObject)
FemSolverObject::FemSolverObject() = default;
FemSolverObject::FemSolverObject()
{
ADD_PROPERTY_TYPE(Results,
(nullptr),
"Solver",
App::PropertyType(App::Prop_ReadOnly | App::Prop_Output),
"Solver results list");
ADD_PROPERTY_TYPE(WorkingDirectory,
(""),
"Solver",
App::PropertyType(App::Prop_Transient | App::Prop_Hidden | App::Prop_Output),
"Solver working directory");
}
FemSolverObject::~FemSolverObject() = default;