OptimisationMaskValues

The graph value pairs of the optimisation mask.

Example

application = cf.Application.GetInstance()
project = application:NewProject()

    -- Add an optimisation mask for the given list of values

xValues = {0, 1, 2, 3, 4}
yValues = {0, 10, 20, 20, 30}
mask = project.Optimisation.Masks:Add(xValues, yValues)

    -- Get the X and Y coordinates of the first value of the mask

startX = mask.Values[1].X
startY = mask.Values[1].Y

Inheritance

The OptimisationMaskValues object is derived from the CompositeValue object.

Usage locations

The OptimisationMaskValues object can be accessed from the following locations:

Property List

X
The x value. (Read/Write ParametricExpression)
Y
The y value. (Read/Write ParametricExpression)

Property Details

X
The x value.
Type
ParametricExpression
Access
Read/Write
Y
The y value.
Type
ParametricExpression
Access
Read/Write