How could I get the values of a spatial curve using python?

Once the spatial curve has been displayed, you have to use the following procedure:

1Display the python command of the spatial curve in order to get the correct syntax
2In the command window, type: print CurveSpatial2D['SPATIALCURVE_NAME'].y[0].values

Additional commands related to the post processing of spatial curve values: