AGI STK Astrogator 11 Send comments on this topic.
SetActionAndValue Method (IAgVAMCSUpdate)
See Also 
ParameterType
ActionType
Value





Description

Sets an action and the new value.

Syntax

[Visual Basic .NET]
Public Sub SetActionAndValue( _
   ByVal ParameterType As AgEVAUpdateParam, _
   ByVal ActionType As AgEVAUpdateAction, _
   ByVal Value As Double _
) 

[C#]
public void SetActionAndValue(
AgEVAUpdateParam ParameterType,
AgEVAUpdateAction ActionType,
double Value
);

[Managed C++]
public: void SetActionAndValue(
AgEVAUpdateParam ParameterType,
AgEVAUpdateAction ActionType,
double Value
);

[Java]
public  setActionAndValue(
AgEVAUpdateParam ParameterType,
AgEVAUpdateAction ActionType,
double Value
);

[Unmanaged C++]
public: HRESULT SetActionAndValue(
AgEVAUpdateParam ParameterType,
AgEVAUpdateAction ActionType,
double Value
);

Parameters

ParameterType
Member Value Description
eVAUpdateParamDragArea 0 Drag Area - the cross-sectional area of the spacecraft assumed perpendicular to the direction of motion, used for atmospheric drag calculations.
eVAUpdateParamSRPArea 1 Solar Radiation Pressure (Spherical) Area - the cross-sectional area of the spacecraft assumed perpendicular to the direction of solar radiation, used for solar radiation calculations.
eVAUpdateParamDryMass 2 Dry Mass - the mass of the spacecraft exclusive of propellant.
eVAUpdateParamFuelMass 3 The mass of the spacecraft propellant.
eVAUpdateParamFuelDensity 4 The density of the fuel tank.
eVAUpdateParamTankPressure 5 The fuel tank pressure.
eVAUpdateParamTankTemp 6 The temperature of the fuel tank.
eVAUpdateParamCr 7 Solar Radiation Pressure (Spherical) Coefficient (Cr) - the reflectivity of the spacecraft used for solar radiation pressure calculations, where 2.0 is fully reflective and 1.0 is not reflective at all.
eVAUpdateParamCd 8 Drag Coefficient (Cd) - the dimensionless drag coefficient associated with the drag area.
eVAUpdateParamCk 9 Radiation Pressure (Albedo/Thermal) Coefficient (Ck) - the reflectivity of the spacecraft used for central body radiation pressure (albedo / thermal pressure) calculations, where 2.0 is fully reflective and 1.0 is not reflective at all.
eVAUpdateParamRadiationPressureArea 10 Radiation Pressure (Albedo/Thermal) Area - the cross-sectional area of the spacecraft assumed perpendicular to the direction of central body radiation, used for central body radiation (albedo / thermal pressure) calculations.
ActionType
Member Value Description
eVAUpdateActionNoChange 0 No change in value - leave the current value for this parameter unchanged (ignoring any quantity that may appear in the Value column).
eVAUpdateActionAddValue 1 Add value - add the quantity entered in the Value column to the current value for this parameter.
eVAUpdateActionSubtractValue 2 Subtract value - subtract the quantity entered in the Value column from the current value for this parameter.
eVAUpdateActionSetToNewValue 3 Set to new value - replace the current value for this parameter with the quantity entered in the Value column.
Value

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1