STK ObjectsSend comments on this topic.
SetProfileType Method (IAgVeStandardBasic)
See Also
Profile
Windows





Windows & Linux

Description

Set basic attitude profile type.

Syntax

[Visual Basic .NET]
Public Sub SetProfileType( _
    ByVal Profile As AgEVeProfile _
)
[C#]
public void SetProfileType(
    AgEVeProfile Profile
);
[Managed C++]
public: void SetProfileType(
    AgEVeProfile Profile
);
[Unmanaged C++]
public: HRESULT SetProfileType(
    AgEVeProfile Profile
);
[Java]
public void setProfileType(
    AgEVeProfile Profile
);
[Python - STK API ]
def SetProfileType(self, Profile:"AgEVeProfile") -> None:

Parameters

Profile

See Also

Example

Set attitude profile type (if profile is supported)
[C#]
IAgVeOrbitAttitudeStandard standard = satellite.Attitude as IAgVeOrbitAttitudeStandard;
if (standard.Basic.IsProfileTypeSupported(AgEVeProfile.eProfileSpinning))
{
    standard.Basic.SetProfileType(AgEVeProfile.eProfileSpinning);
}
Set attitude profile type (if profile is supported)
[Visual Basic .NET]
Dim standard As IAgVeOrbitAttitudeStandard = TryCast(satellite.Attitude, IAgVeOrbitAttitudeStandard)
If standard.Basic.IsProfileTypeSupported(AgEVeProfile.eProfileSpinning) Then
	standard.Basic.SetProfileType(AgEVeProfile.eProfileSpinning)
End If
© 2024 Analytical Graphics, Inc. All Rights Reserved.