SetConstraint (Planets & Stars)
Set a constraint for a planet or star
Syntax
SetConstraint <ObjectPath> {ConstraintName} {State}
Related commands
Description
Caution should be exercised when turning a constraint Off, in that any previously set constraint values may be lost. These cannot be recovered when the constraint is subsequently turned On.
Only one constraint can be set with each SetConstraint command.
Basic Constraints
LineOfSight is the only basic constraint available for planets and stars. {State} can be On or Off.
Vector Constraints
Vector constraints for planets and stars are identical to that of vehicles, except that the CrdnCondition Vector Constraint is not valid for Stars. Visit Connect help for the SetConstraint (Vehicles) command for a complete list of valid vector constraints.
Examples
To set the line of sight constraint On for Jupiter:
Return message
Group membership
This command belongs to the following group(s):
Version
5.0.3