STK ObjectsSend comments on this topic.
SetAccessConstraintDefinitionName Method (IAgObjectCoverageFOM)
See Also
ConstraintName
Windows





Windows & Linux

Description

Set the access constraint definition by name.

Syntax

[Visual Basic .NET]
Public Function SetAccessConstraintDefinitionName( _
    ByVal ConstraintName As String _
) As IAgFmDefAccessConstraint
[C#]
public IAgFmDefAccessConstraint SetAccessConstraintDefinitionName(
    string ConstraintName
);
[Managed C++]
public: IAgFmDefAccessConstraint^ SetAccessConstraintDefinitionName(
    String __gc ^ ConstraintName
);
[Unmanaged C++]
public: HRESULT SetAccessConstraintDefinitionName(
    BSTR ConstraintName,
    IAgFmDefAccessConstraint ** ppIAgFmDefAccessConstraint
);
[Java]
public IAgFmDefAccessConstraint setAccessConstraintDefinitionName(
    String ConstraintName
);
[Python - STK API ]
def SetAccessConstraintDefinitionName(self, ConstraintName:str) -> "IAgFmDefAccessConstraint":

Parameters

ConstraintName

See Also

Example

Set the figure of merit definition to access constraint by name
[C#]
IAgFmDefAccessConstraint defAccessCnstr = fom.SetAccessConstraintDefinitionName("AzimuthRate");

// Confiure access constraint properties
defAccessCnstr.SetComputeType(AgEFmCompute.eMaximum);
defAccessCnstr.AcrossAssets = AgEFmAcrossAssets.eFmMinimum;
defAccessCnstr.TimeStep = 60.0;
Set the figure of merit definition to access constraint by name
[Visual Basic .NET]
Dim defAccessCnstr As IAgFmDefAccessConstraint = fom.SetAccessConstraintDefinitionName("AzimuthRate")

' Confiure access constraint properties
defAccessCnstr.SetComputeType(AgEFmCompute.eMaximum)
defAccessCnstr.AcrossAssets = AgEFmAcrossAssets.eFmMinimum
defAccessCnstr.TimeStep = 60
© 2024 Analytical Graphics, Inc. All Rights Reserved.