STK AgAsHpopPluginSend comments on this topic.
Init Method (IAgAsHpopPlugin)
See Also
Site
The site object will either be a IAgStkPluginSite component (when the
plugin is called from within STK), an IAgGatorPluginSite (when the plugin
is called from within Astrogator) or an IAgOdtkPluginSite component (when the
plugin is called from within ODTK).
Windows





Windows & Linux

Description

Triggered when the plugin is initialized to allow for any additional needed initialization. Must return true to turn on use of plugin.

Syntax

[Visual Basic .NET]
Public Function Init( _
    ByVal Site As IAgUtPluginSite _
) As Boolean
[C#]
public bool Init(
    IAgUtPluginSite Site
);
[Managed C++]
public: bool Init(
    IAgUtPluginSite ^ Site
);
[Unmanaged C++]
public: HRESULT Init(
    IAgUtPluginSite * Site,
    VARIANT_BOOL * pResult
);
[Java]
public bool init(
    IAgUtPluginSite Site
);

Parameters

Site
The site object will either be a IAgStkPluginSite component (when the
plugin is called from within STK), an IAgGatorPluginSite (when the plugin
is called from within Astrogator) or an IAgOdtkPluginSite component (when the
plugin is called from within ODTK).

Return Type

Return true to indicate success, false to indicate failure. If false is returned, no method of the plugin will be called.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.