Assign a model to a facility, place, target or vehicle (any type)
VO <ObjectPath> Model {Option1} <Value1> [{Option2} <Value2>]...
The VO command using the Model {VOOption} allows you to specify a certain model to be used to represent an object in the current scenario, or to turn off the display of a model. You can also use this command to define the default color of the model.
{Option} | <Value> | Description |
---|---|---|
Show | {On | Off} | Turns the display of the model on or off. The default setting for vehicles and facilities is On, but for MTO tracks the default is Off. |
File | "<ModelFile>" [Use ModelFile] | Specifies the model file to be used to
represent the object. If the Show option is set to Off, entering
this option will set it to On. Supported model file types are:
If you wish to immediately use the specified model file, include the Use ModelFile keywords in the command line. |
Color | {Normal | DefaultFromMarker} | Sets the default color of the model. The Normal value is the default setting, and sets the default color to white. If this option is set to DefaultFromMarker, then the default color is the same as the marker color. Note: This option will only affect colorless models. |
Use | {ModelFile | ModelList | CatalogModel} | Indicate the source of the model being
displayed. The default value, for Facilities, Targets and most
Vehicles, is ModelFile.
If the object is a MissionModeler Aircraft, the default value is CatalogModel. The CatalogModel option is only valid for an Aircraft that is using the MissionModeler propagator. Use the VO ModelList command to set up a Model List. Setting this option to ModelList or CatalogModel will set the current model file to the model specified by the ModelList or CatalogModel. To display a different Model File you must re-enter the VO Model File command with the Use ModelFile option. |
IgnoreBoundRadius | {On | Off} | Ignore or use the bound radius when rendering models. If On is entered, the model will be rendered based on LOD. The default is Off. |
To set the model for the ERS1 satellite:
VO */Satellite/ERS1 Model File "C:\STKInstall\STKData\VO\Models\Space\ers.mdl"
To set the model being used for Satellite1 to not show:
VO */Satellite/Satellite1 Model Show Off
To set the default model color to be the same as the marker color for Facility1 in the current scenario:
VO */Facility/Facility1 Model Color DefaultFromMarker
To set the MissionModeler Aircraft to use the Catalog model file:
VO */Aircraft/Gulf1 Model Use CatalogModel
If activated, Connect returns an acknowledgement message.
This command belongs to the following group(s):
10
STK Programming Interface 11.0.1