AGI STK Graphics 11 Send comments on this topic.
InitializeWithStringUriAndUpAxis Method (IAgStkGraphicsModelPrimitiveFactory)
See Also 
Uri
The path to the model file.
UpAxis
The axis representing the up direction of the model file.

Description

For convenience. Initializes a model primitive with the specified file path and up axis.

Syntax

[Visual Basic .NET]
Public Function InitializeWithStringUriAndUpAxis( _
   ByVal Uri As String, _
   ByVal UpAxis As AgEStkGraphicsModelUpAxis _
) As IAgStkGraphicsModelPrimitive

Parameters

Uri
The path to the model file.
UpAxis
Member Value Description
eStkGraphicsModelUpAxisX 0 The positive X axis.
eStkGraphicsModelUpAxisY 1 The positive Y axis.
eStkGraphicsModelUpAxisZ 2 The positive Z axis.
eStkGraphicsModelUpAxisNegativeX 3 The negative X axis.
eStkGraphicsModelUpAxisNegativeY 4 The negative Y axis.
eStkGraphicsModelUpAxisNegativeZ 5 The negative Z axis.
The axis representing the up direction of the model file.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK 11.1 Programming Interface