AGI STK Objects 11Send comments on this topic.
LoadVDF Method (IAgStkObjectRoot)
See Also  Example
Path
Password
Windows






Windows & Linux

Description

Loads a vdf using the specified path. The method throws an exception if there is a scenario already loaded. If the password isn't needed, enter an empty string.

Syntax

[Visual Basic .NET]
Public Sub LoadVDF( _
   ByVal Path As String, _
   ByVal Password As String _
) 
[C#]
public void LoadVDF(
   string Path,
   string Password
);
[Managed C++]
public: void LoadVDF(
   String __gc ^ Path,
   String __gc ^ Password
);
[Java]
public  loadVDF(
   String Path,
   String Password
);
[Unmanaged C++]
public: HRESULT LoadVDF(
   BSTR Path,
   BSTR Password
);

Parameters

Path
Password

Example

Open a VDF
[MATLAB]Copy Code
% IAgStkObjectRoot root: STK Object Model Root 
root.LoadVDF('C:\Program Files\AGI\STK 11\Data\ExampleScenarios\Intro_STK_Space_Systems.vdf',''); 
 
 
Open a VDF
[Python]Copy Code
# IAgStkObjectRoot root: STK Object Model Root 
root.LoadVDF(r'C:\Program Files\AGI\STK 11\Data\ExampleScenarios\Intro_STK_Space_Systems.vdf','') 
 
 

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.