STK ObjectsSend comments on this topic.
LoadVDF Method (IAgStkObjectRoot)
See Also
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
);
[Unmanaged C++]
public: HRESULT LoadVDF(
    BSTR Path,
    BSTR Password
);
[Java]
public void loadVDF(
    String Path,
    String Password
);
[Python - STK API ]
def LoadVDF(self, Path:str, Password:str) -> None:

Parameters

Path
Password

See Also

Example

Open a VDF
[Python - STK API]
# IAgStkObjectRoot root: STK Object Model Root
root.LoadVDF(r'C:\Program Files\AGI\STK 12\Data\ExampleScenarios\Intro_STK_Space_Systems.vdf', '')

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


        
© 2024 Analytical Graphics, Inc. All Rights Reserved.