Skip to content

Commit

Permalink
FEM: python base constraint, add Object attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Mar 4, 2020
1 parent 213ba30 commit a47d33b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Mod/Fem/femobjects/FemConstraint.py
Expand Up @@ -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

## @}

0 comments on commit a47d33b

Please sign in to comment.