AGI STK Objects 11Send comments on this topic.
NewOnCentralBody Method (IAgStkObjectCollection)
See Also
EClassType
InstName
CentralBodyName
Windows






Windows & Linux

Description

Creates an STK object using specified class, instance name and the central body.

Syntax

[Visual Basic .NET]
Public Function NewOnCentralBody( _
    ByVal EClassType As AgESTKObjectType, _
    ByVal InstName As String, _
    ByVal CentralBodyName As String _
) As 
[C#]
public IAgStkObject NewOnCentralBody(
    AgESTKObjectType EClassType,
    string InstName,
    string CentralBodyName
);
[Managed C++]
public: IAgStkObject^ NewOnCentralBody(
    AgESTKObjectType EClassType,
    String __gc ^ InstName,
    String __gc ^ CentralBodyName
);
[Java]
public IAgStkObject newOnCentralBody(
    AgESTKObjectType EClassType,
    String InstName,
    String CentralBodyName
);
[Unmanaged C++]
public: HRESULT NewOnCentralBody(
    AgESTKObjectType EClassType,
    BSTR InstName,
    BSTR CentralBodyName,
    IAgStkObject ** ppRetVal
);

Parameters

EClassType
InstName
CentralBodyName

See Also

© 2019 Analytical Graphics, Inc. All Rights Reserved.