This movie:
illustrates how SMTK’s spline widget works to tie an attribute accepting point locations to an interactive curve editor.
See our widget documentation for how to configure it for your attributes. Note that it can also be used for polylines (piecewise linear curves).