OptimisationMaskValues

OptimisationMaskValue.

Example

app = cf.GetApplication()
project = app: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

Property List

X
X value. (Read/Write Expression)
Y
Y value. (Read/Write Expression)

Property Details

X
X value.
Type
Expression
Access
Read/Write
Y
Y value.
Type
Expression
Access
Read/Write