Posts: 46
Threads: 14
Joined: May 2022
06-04-2022, 05:10 PM
(This post was last modified: 06-04-2022, 05:16 PM by tairoark.)
I wanted to hook the OnBeforeRefresh event on an Input Shape Spline module in order to change the 'width' for a rectangle shape. The events never get called. The same event destination will get called if I add it to a Shape Extrusion, so I know I have the signature correct.
Since not of your examples use these two events, is this not a good thing to use architecturally?
Posts: 2,092
Threads: 88
Joined: Jun 2017
Hi
OnBeforeRefresh will not be triggered on Input Shape Spline, and any other module that implements the IOnRequestProcessing interaface. Those modules are:
- Conform Path
- Input Spline Path
- Input Spline Shape
- Mix Paths
- Mix Shapes
- Variable Mix Shapes
- TRS Path
- TRS Shape
- Path Relative Translation
Maybe you could listen on the OnRefresh event of the Spline associated with the Input Spline Path module?
Did this help?
Have a nice day
Please consider leaving a
review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.