Description | Example | Return Message | Group

SetConstraintOptions

Set constraint options for an object's active constraints.

Syntax

SetConstraintOptions <ObjectPath> {ConstraintName} {Options}

Related Commands

Description

Use the SetConstraintOptions command to set constraint options for individual constraints that are active for an object.

The {ConstraintName} is the name of an active constraint for <ObjectPath>, that is, a constraint that has been turned on. Refer to the SetConstraint commands to turn on constraints.

The following table describes the available options.

Option Description
Action {ExcludeIntervals | IncludeIntervals} Specify whether to exclude or include time intervals that satisfy a given constraint.
MaxTimeStep <Value> Enter the maximum time step which will limit the amount of time that is allowed to elapse between samplings of the constraint functions during access computations.

<Value> is entered in Connect time units.

To disable the MaxTimeStep enter 0 for <Value>.

MaxRelMotion <Value> Enter the maximum relative motion value in degrees.

To disable the MaxRelMotion enter 0 for <Value>.

Example

To set constraint options for the Satellite1's AzimuthAngle constraint:

SetConstraintOptions */Satellite/Satellite1 AzimuthAngle MaxRelMotion 34.56 MaxTimeStep 123.0

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Area Targets

Chains

Comm

Facilities, Places & Targets

Line Targets

Radar

Sensors

Stars & Planets

Vehicles

Version

9.2.2

STK Programming Interface 11.0.1