FEM: prevent python added properties to be removed

This commit is contained in:
Florian Foinant-Willig
2024-04-27 21:57:29 +02:00
committed by Yorik van Havre
parent d1946bfebe
commit abd5d4daef
24 changed files with 201 additions and 1 deletions

View File

@@ -48,6 +48,7 @@ class ElementGeometry2D(base_fempythonobject.BaseFemPythonObject):
"ShellThickness",
"set thickness of the shell elements"
)
obj.setPropertyStatus("Thickness", "LockDynamic")
obj.addProperty(
"App::PropertyLinkSubList",
@@ -55,3 +56,4 @@ class ElementGeometry2D(base_fempythonobject.BaseFemPythonObject):
"ShellThickness",
"List of shell thickness shapes"
)
obj.setPropertyStatus("References", "LockDynamic")