Optimizer.AddConstraintBlock(StringArray) Method

Top 

Description

Creates a new entry in the Optimizer.Constraints array for every label provided.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

Optimizer.AddConstraintBlock(

StringArray labels)

 

 

Arguments

labels


Description:

The labels for this block of optimization constraints.

 

 

 

Return Value

Type:

number

 

 

Returns the updated number of constraints.

 

Syntax

myVariable1 = myOptimizer1.AddConstraintBlock(myStringArray1);

 

 

See also

Optimizer Object

Optimizer.AddConstraintBlock