SPILNE DATA
SPILNE DATA
(OP)
Hi, I have created a spline and I need to access the X's values and the Y's values one bye one in order to use them in an other function. How can I do?
data_element create spline &
spline=(eval(.model_name//".SplineRodTorqueX011)) &
x= -180,-30,-12,-5,-1,0,1,5,12,30,180 &
y= -12,-6,-4,-2,-0.5,0,0.5,2,4,6,12 &
linear_extrapolate= yes &
units=no_units
Thanks a lot for your help
data_element create spline &
spline=(eval(.model_name//".SplineRodTorqueX011)) &
x= -180,-30,-12,-5,-1,0,1,5,12,30,180 &
y= -12,-6,-4,-2,-0.5,0,0.5,2,4,6,12 &
linear_extrapolate= yes &
units=no_units
Thanks a lot for your help





RE: SPILNE DATA
for var=ii start=1 end=(DB_COUNT("SplineRodTorqueX011"))
var set var=X_val real=(eval(SplineRodTorqueX011.xs[ii]))
end
Jesper Slattengren
www.prattmiller.com