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





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 IAgStkObject

[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 ** ReturnValue
);

Parameters

EClassType
Member Value Description
eAdvCat 0 AdvCAT.
eAircraft 1 Aircraft.
eAreaTarget 2 Area Target.
eAttitudeCoverage 3 Attitude Coverage.
eChain 4 Chain.
eCommSystem 5 CommSystem.
eConstellation 6 Constellation.
eCoverageDefinition 7 Coverage Definition.
eFacility 8 Facility.
eGroundVehicle 9 Ground Vehicle.
eLaunchVehicle 10 Launch Vehicle.
eLineTarget 11 Line Target.
eMTO 12 MTO (Multi-Track Object).
eMissile 13 Missile.
eMissileSystem 14 Missile System.
ePlanet 15 Planet.
eRadar 16 Radar.
eReceiver 17 Receiver.
eSatellite 18 Satellite.
eScenario 19 Scenario.
eSensor 20 Sensor.
eShip 21 Ship.
eStar 22 Star.
eTarget 23 Target.
eTransmitter 24 Transmitter.
eFigureOfMerit 25 Figure of Merit.
eRoot 26 Root.
eAccess 27 Access.
eObjectCoverage 28 Coverage.
eAttitudeFigureOfMerit 29 Attitude Figure of Merit.
eAntenna 31 Antenna.
ePlace 32 Place.
eVolumetric 33 Volumetric
InstName
CentralBodyName

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1