AGI STK Objects 11 Send comments on this topic.
SetPositionSourceFile Method (IAgPlCommonTasks)
See Also  Example
File





Description

Specify a planet ephemeris file, with a .pe extension.

Syntax

[Visual Basic .NET]
Public Function SetPositionSourceFile( _
   ByVal File As String _
) As IAgPlPosFile

[C#]
public IAgPlPosFile SetPositionSourceFile(
string File
);

[Managed C++]
public: IAgPlPosFile^ SetPositionSourceFile(
String __gc ^ File
);

[Java]
public IAgPlPosFile setPositionSourceFile(
String File
);

[Unmanaged C++]
public: HRESULT SetPositionSourceFile(
BSTR File,
IAgPlPosFile ** ReturnValue
);

Parameters

File

Example

Configure a planet position by ephemeris source file(using common tasks)
[C#] Copy Code
// Position source files traditionally have .pe extensions 
planet.CommonTasks.SetPositionSourceFile(planetEphemeris); 
 

Configure a planet position by ephemeris source file(using common tasks)
[Visual Basic .NET] Copy Code
' Position source files traditionally have .pe extensions
planet.CommonTasks.SetPositionSourceFile(planetEphemeris)

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1