"curveVal"

Sets a curve value at a certain time for the trend type value over value.

Synopsis

setValue(string shape, "curveVal", string Name, float YValue, time t);

shape.curveVal (string Name, float YValue, time t);

Parameters

Parameter Description
shape Name of the object
Name Name of the curve
Yvalue Y value of the curve
t Time to set the value

Description

This attribute is used to set the Y value "Yvalue" for the indicated curve at time "t".

Example

The following example sets the value of "curve1" to 5.5 on 04.12.2014 at 12:00 p.m.

main()
{
  time now = makeTime(2014, 12, 04, 12, 00);
  TREND1.curveValX("curve1",5.5,now);
  TREND1.curveVal("curve1",5.5, now);
}

Assignment

Trend