STK ObjectsSend comments on this topic.
SetPointing3DModel Method (IAgSnCommonTasks)
See Also
AttachName
Windows





Windows & Linux

Description

Sets the pointing method to 3DModel.

Syntax

[Visual Basic .NET]
Public Function SetPointing3DModel( _
    ByVal AttachName As String _
) As IAgSnPt3DModel
[C#]
public IAgSnPt3DModel SetPointing3DModel(
    string AttachName
);
[Managed C++]
public: IAgSnPt3DModel^ SetPointing3DModel(
    String __gc ^ AttachName
);
[Unmanaged C++]
public: HRESULT SetPointing3DModel(
    BSTR AttachName,
    IAgSnPt3DModel ** ppIAgSnPt3DModel
);
[Java]
public IAgSnPt3DModel setPointing3DModel(
    String AttachName
);
[Python - STK API ]
def SetPointing3DModel(self, AttachName:str) -> "IAgSnPt3DModel":

Parameters

AttachName

See Also

Example

Define location on 3D model
[C#]
// Set pointing type to 3d model
sensor.SetPointingType(AgESnPointing.eSnPt3DModel);

// Point to model attach point (in this example: "SolarPanels")
IAgSnPt3DModel model = sensor.CommonTasks.SetPointing3DModel("SolarPanels");
Define location on 3D model
[Visual Basic .NET]
' Set pointing type to 3d model
sensor.SetPointingType(AgESnPointing.eSnPt3DModel)

' Point to model attach point (in this example: "SolarPanels")
Dim model As IAgSnPt3DModel = sensor.CommonTasks.SetPointing3DModel("SolarPanels")
© 2024 Analytical Graphics, Inc. All Rights Reserved.