This attribute defines a Scripting Tool targeting profile.
Astrogator <Satellite Object Path> SetValue <Attribute Path>.Profiles.Scripting_Tool.<Attribute><Value>
The Scripting Tool profile contains an embedded instance of the Scripting Tool. The profile will execute the script it contains each time that the profile is run.
Set Enabled to true to use the Scripting Tool.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Enabled true
Add an Attribute component in the list for each object property needed.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Attributes Attribute Attribute
Enter the object that the attribute component will be associated with.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Attributes.Attribute.Object Propagate
Enter the specific attribute of the object that the attribute component uses.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Attributes.Attribute.Attribute StoppingConditions.Duration.TripValue
Enter the unit in which the object property will be used in the script.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Attributes.Attribute.Unit min
Set ReadOnlyProperty to true to select from read-only attributes or false to select from editable attributes.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Attributes.Attribute.ReadOnlyProperty true
Enter a Calc Object component for each calculation object needed.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.CalcObjects CalcObject CalcObject
Enter the name of the calculation object the component should use.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.CalcObjects.CalcObject.CalcObject Altitude
To set a property of the calc object, add that property to the attribute path (this example sets the altitude calc object to be lunar altitude).
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.CalcObjects.CalcObject.CalcObject.CentralBody Moon
Enter the unit dimension in which the calculation object will be used in the script.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.CalcObjects.CalcObject.Unit m
Enter a Parameter component for each parameter needed.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Parameters Parameter Parameter
Enter the value of the parameter.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Parameters.Parameter.ParamValue 20
Enter "Boolean", "Date", "Double", "Enumeration", "Integer", "Quantity", or "String".
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Parameters.Parameter.ParamType Enumeration
Enter a unit.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Parameters.Parameter.Unit m/sec
Enter a unit dimension.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Parameters.Parameter.UnitDimension Rate
Enter a user comment.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Parameters.Parameter.UserComment This parameter is my favorite
Set UseMinValue to true to give the parameter a minimum value.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Parameters.Parameter.UseMinValue true
If UseMinValue is true, define a minimum value for the parameter.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Parameters.Parameter.MinValue 0
Set UseMaxValue to true to give the parameter a maximum value.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Parameters.Parameter.UseMaxValue true
If UseMaxValue is true, define a maximum value for the parameter.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Parameters.Parameter.MaxValue 10
Enter the desired scripting language.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Language JScript
or
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Language VBScript
or
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.Language MATLAB
Enter the text of the script.
Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Scripting_Tool.ScriptStatements "Attribute = 2 * Parameter"
STK Programming Interface 11.0.1