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 a potentially active constraint for <ObjectPath>. Use the Enabled option to turn individual constraints on or off for access computations; the default is "on". Refer to the SetConstraint commands to turn on constraints.

The following table describes the available options.

OptionDescription
Action {ExcludeIntervals | IncludeIntervals}Specify whether to exclude or include time intervals that satisfy a given constraint.
Enabled {Yes|True|On|No|False|Off}Specify whether the given constraint is active or not for access computations. The default is Yes|True|On.
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>.

Examples

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

SetConstraintOptions */Satellite/Satellite1 AzimuthAngle MaxRelMotion 34.56 MaxTimeStep 123.0

Return 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

12.9