AGI STK Objects 11 Send comments on this topic.
IAgVOModel Interface





Description

AgVOModel used to access the 3D model attributes.

Object Model




Public Properties

Public Property Articulation Articulation property.
Public Property DetailThreshold DetailThreshold attributes.
Public Property ModelData ModelData property.
Public Property ModelType ModelType property. A member of the AgEModelType enumeration.
Public Property ScaleValue Specify the absolute scaling value for the object. The model scale is an exponential scale. Dimensionless.
Public Property Visible Display one or several models in the 3D Graphics window.

Example

Configure 3D model file
[C#] Copy Code
// Set new ModelFile.Filename 
model.ModelType = AgEModelType.eModelFile; 
IAgVOModelFile modelFile = model.ModelData as IAgVOModelFile; 
modelFile.Filename = @"\STKData\VO\Models\Space\alexis.mdl"
 
// Configure basic settings 
model.Visible = true
model.ScaleValue = 4.800
 

Configure 3D model file
[Visual Basic .NET] Copy Code
' Set new ModelFile.Filename
model.ModelType = AgEModelType.eModelFile
Dim modelFile As IAgVOModelFile = TryCast(model.ModelData, IAgVOModelFile)
modelFile.Filename = "\STKData\VO\Models\Space\alexis.mdl"

' Configure basic settings
model.Visible = True
model.ScaleValue = 4.8

CoClasses that Implement IAgVOModel

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1