CalculationTool Condition
Define and modify Condition components and templates.
Syntax
CalculationTool <ScenarioPath> <ParentObject> {Action} {"Condition" | "ConditionTemplate"} <ComponentName> [{ConditionType} <TypeParams>]
Related commands
Description
The "CalculationTool Condition" command is used to add, modify and delete Condition components and templates.
For a component object the <ParentObject> is a truncated object path or a Central Body path.
For a template the <ParentObject> is an STK class name, and the "ConditionTemplate" keyword must be entered.
The Condition component type is not valid for Star objects.
The following table provides a description of {Action} values and the applicable parameters:
{Action} | Parameters | Description |
---|---|---|
Create | {ConditionType} [<TypeParams>] | <TypeParams> are optional, except where noted below. If no <TypeParams> are specified, default values are used. |
Modify | {ConditionType} <TypeParams> | The values <ComponentName> {ConditionType} must define an existing Condition component or template. The {ConditionType} can not be modified. <TypeParams> are required. |
Delete | N/A | Delete the component or template identified by <ComponentName> |
Any or all of the <TypeParams> for an {ConditionType} can be specified on a command line, except where indicated.
The following table describes each Condition type and its parameters.
{ConditionType} | <TypeParams> |
---|---|
"Combined" | Any or all of the following keyword-value pairs can be specified:
Enter Conditions Add to add the specified Conditions to the list, and enter Conditions Replace to replace the component's Conditions with the specified Conditions. <Num> indicates the number of Conditions entered. For the Remove option enter the index number of the component to be removed. The first component in the list has an index of 1. Use the CalculationTool_R with the Details option to see the list of components. If Operation is MINUS there must be only two components. For all other operations there must be at least two components in the list. |
"Scalar Bounds" |
If the dimension of the Scalar is Time, Distance, or Date, then Minimum and Maximum <Value> is entered in Connect units. If the dimension of the Scalar is Angle, <Value> is entered in degrees. Otherwise, <Value> is entered in Scenario units. |
"Trajectory Within Volume" |
|
For details on the format of a reference component (e.g. "<CalcScalar>") see Component Specification.
When specifying a reference component or template in the Create or Modify commands the {ComponentType} is implied based on the {ConditionType} being created or modified and the {ComponentType} need not be entered. In the last example below, "Satellite/ScenTestSat SatVec1.Cartesian.Z" can be entered instead of "Satellite/ScenTestSat SatVec1.Cartesian.Z Scalar Calculation", since the command is expecting a Scalar Calculation.
Examples
To create and modify a Scalar Bounds Condition:
To create, modify and then delete a Scalar Bounds Condition for Earth:
To create and modify a Trajectory Within Volume Condition:
To create and modify a Combined Condition:
Return message
Group membership
This command belongs to the following group(s):
Version
11.2