AGI STK Objects 11 Send comments on this topic.
IAgDataPrvFixed Interface
Windows






Windows & Linux

Description

Represents the Fixed Data Provider (i.e. non time dependent like facility position).

Object Model



Public Methods

Public Method ExecComputes the data; fixed data providers do not require arguments.
Public Method ExecElementsComputes the data and returns just the indicated data elements; fixed data providers do not require arguments.

Example

Execute a non time dependent data provider (for instance facility position)
[C#]Copy Code
IAgDataPrvFixed dpInfo = facility.DataProviders["Cartesian Position"as IAgDataPrvFixed; 
IAgDrResult resInfo = dpInfo.Exec(); 
 

Execute a non time dependent data provider (for instance facility position) and request only the specified elements
[C#]Copy Code
Array elems = new object[] 
              { 
                  "x""z" 
              }; 
 
IAgDataPrvFixed dpInfo = facility.DataProviders["Cartesian Position"as IAgDataPrvFixed; 
 
// ExecElements expects a one dimensional array of element names 
IAgDrResult resInfo = dpInfo.ExecElements(ref elems); 
 

Execute a non time dependent data provider (for instance facility position)
[Visual Basic .NET]Copy Code
Dim dpInfo As IAgDataPrvFixed = TryCast(facility.DataProviders("Cartesian Position"), IAgDataPrvFixed)
Dim resInfo As IAgDrResult = dpInfo.Exec()

Execute a non time dependent data provider (for instance facility position) and request only the specified elements
[Visual Basic .NET]Copy Code
Dim elems As Array = New Object() {"x", "z"}

Dim dpInfo As IAgDataPrvFixed = TryCast(facility.DataProviders("Cartesian Position"), IAgDataPrvFixed)

' ExecElements expects a one dimensional array of element names
Dim resInfo As IAgDrResult = dpInfo.ExecElements(elems)

See Also

CoClasses that Implement IAgDataPrvFixed

© 2018 Analytical Graphics, Inc. All Rights Reserved.