[FEM] BodyHeat constraint: hide unused property

- the constraint does not take a references and when trying to set one as user because one thinks this empty property must be set, one gets a recompute error
This commit is contained in:
Uwe
2022-07-27 14:04:40 +02:00
parent 341e017960
commit 4b092abdb0
@@ -40,6 +40,8 @@ class ConstraintBodyHeatSource(base_fempythonobject.BaseFemPythonObject):
def __init__(self, obj):
super(ConstraintBodyHeatSource, self).__init__(obj)
self.add_properties(obj)
# the constraint does not take any references, thus hide this property
obj.setEditorMode("References", 2)
def onDocumentRestored(self, obj):
self.add_properties(obj)