Run when a model changes or animates

Signature:

OnUpdateModel(self)

Arguments:

  • self - Reference to the widget for which the script was run (model)