Try the Python script below on a worksheet with curves to smooth.
import originpro as op
wks = op.find_sheet()
for i in range(wks.cols):
wks.set_int("col", i+1) ## set current column
if wks.get_int("col.type") == 1: ## only smooth on y column (column type == 1)
op.lt_exec(f'smooth -r 2 iy:=wcol({i+1}) method:=pf npts:=19;') ## call x-function from Python
James