AGI STK Objects 11 Send comments on this topic.
SetPointing3DModel Method (IAgSnCommonTasks)
See Also  Example
AttachName





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
);

[Java]
public IAgSnPt3DModel setPointing3DModel(
String AttachName
);

[Unmanaged C++]
public: HRESULT SetPointing3DModel(
BSTR AttachName,
IAgSnPt3DModel ** ReturnValue
);

Parameters

AttachName

Example

Define location on 3D model
[C#] Copy Code
// Set pointing type to 3d model 
sensor.SetPointingType(AgESnPointing.eSnPt3DModel); 
 
// Point to model attach point (in this example: "SolarArrays-000000") 
IAgSnPt3DModel model = sensor.CommonTasks.SetPointing3DModel("Solar_PanelsNode"); 
 

Define location on 3D model
[Visual Basic .NET] Copy Code
' Set pointing type to 3d model
sensor.SetPointingType(AgESnPointing.eSnPt3DModel)

' Point to model attach point (in this example: "SolarArrays-000000")
Dim model As IAgSnPt3DModel = sensor.CommonTasks.SetPointing3DModel("Solar_PanelsNode")

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1