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

Yann_Le_Floch
Yann_Le_Floch
Altair Employee
edited November 2021 in Altair HyperWorks

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:

  • print CurveSpatial2D['SPATIALCURVE_NAME'].y[0].meanValues
  • print CurveSpatial2D['SPATIALCURVE_NAME'].y[0].rectifiedMeanValues
  • print CurveSpatial2D['SPATIALCURVE_NAME'].y[0].rmsValues
  • print CurveSpatial2D['SPATIALCURVE_NAME'].y[0].minimalValues
  • print CurveSpatial2D['SPATIALCURVE_NAME'].y[0].maximalValues
  • print CurveSpatial2D['SPATIALCURVE_NAME'].y[0].formula