ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
Observers within a Tool?
-
I need to capture the
onRenderingOptionsChanged
event from within a tool.I tried adding the
onRenderingOptionsChanged
method to my tool class, then within theactivate
method I addputs model.add_observer(self)
. That returnstrue
- but yet the event doesn't trigger. -
facepalm!
model.rendering_options.add_observer(self)
- duh!
Advertisement