FEM: python base constraint, add Object attribute

This commit is contained in:
Bernd Hahnebach
2020-03-04 06:53:38 +01:00
parent 213ba305eb
commit a47d33b5e2

View File

@@ -32,6 +32,7 @@ class Proxy(object):
BaseType = "Fem::ConstraintPython"
def __init__(self, obj):
self.Object = obj # keep a ref to the DocObj for nonGui usage
obj.Proxy = self # link between App::DocumentObject to this object
## @}