STK ObjectsSend comments on this topic.
IAgVOModel Interface

Description

AgVOModel used to access the 3D model attributes.

Public Properties

Public Property ArticulationArticulation property.
Public Property DetailThresholdDetailThreshold attributes.
Public Property ModelDataModelData property.
Public Property ModelTypeModelType property. A member of the AgEModelType enumeration.
Public Property ScaleValueSpecify the absolute scaling value for the object. The model scale is an exponential scale. Dimensionless.
Public Property VisibleDisplay one or several models in the 3D Graphics window.

CoClasses that Implement IAgVOModel

Example

Configure 3D model file
[C#]
// 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]
' 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
© 2024 Analytical Graphics, Inc. All Rights Reserved.