Export spline points

Hi, Does anyone know how to use the python interface to export the locations of the points making up a spline that I manually drew on a model?

Thanks!

hi,
something like that might work:

import s4l_v1.model as model

spline = model.AllEntities()['Spline 1']
points = [p.Value for p in spline.Parameters.Points]

print(points)

That worked- thanks a lot!