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 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
MemberValueDescription
eAdvCat0AdvCAT.
eAircraft1Aircraft.
eAreaTarget2Area Target.
eAttitudeCoverage3Attitude Coverage.
eChain4Chain.
eCommSystem5CommSystem.
eConstellation6Constellation.
eCoverageDefinition7Coverage Definition.
eFacility8Facility.
eGroundVehicle9Ground Vehicle.
eLaunchVehicle10Launch Vehicle.
eLineTarget11Line Target.
eMTO12MTO (Multi-Track Object).
eMissile13Missile.
eMissileSystem14Missile System.
ePlanet15Planet.
eRadar16Radar.
eReceiver17Receiver.
eSatellite18Satellite.
eScenario19Scenario.
eSensor20Sensor.
eShip21Ship.
eStar22Star.
eTarget23Target.
eTransmitter24Transmitter.
eFigureOfMerit25Figure of Merit.
eRoot26Root.
eAccess27Access.
eObjectCoverage28Coverage.
eAttitudeFigureOfMerit29Attitude Figure of Merit.
eAntenna31Antenna.
ePlace32Place.
eVolumetric33Volumetric
InstName
CentralBodyName

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.