Translations:FeaturePython Objects/70/en

The last element required for a basic FeaturePython object is event trapping. Specifically, we need to trap the  event, which is called when the object is recomputed. There's several other document-level events that can be trapped in our object as well, both in the FeaturePython object itself and in the ViewProvider, which we'll cover in another section. Add the following after the  function: