AGI STK Astrogator 11 Send comments on this topic.
IAgVAScriptingTool Interface





Description

Properties for the Scripting Tool.

Object Model




Public Methods

Public Method CopyToClipboard Copies entire scripting tool to clipboard.
Public Method PasteFromClipboard Replaces entire scripting tool with scripting tool in clipboard.
Public Method ScriptText Injects the script into the scripting tool.

Public Properties

Public Property CalcObjects Returns the collection of the calculation objects.
Public Property Enable If true, the scripting tool is enabled.
Public Property LanguageType The scripting language being used.
Public Property Parameters Returns the collection of parameters.
Public Property SegmentProperties Returns the collection of the segment properties.

Example

Configure sequence segment with scripting tool
[C#] Copy Code
// Add launch sequence and retrieve the 
IAgVAMCSSegment segment = driver.MainSequence.Insert(AgEVASegmentType.eVASegmentTypeSequence, "MySequence""-"); 
IAgVAMCSSequence sequence = segment as IAgVAMCSSequence; 
 
IAgVAScriptingTool scriptTool = sequence.ScriptingTool; 
scriptTool.Enable = true
scriptTool.LanguageType = AgEVALanguage.eVALanguageVBScript; 
scriptTool.ScriptText( 
@" 
DeltaArg = dArg