*CurrentModel()

Selects a model in the current animation window for all model-specific operations.

Syntax

*CurrentModel (number)

Application

MBD Model and HyperView

Inputs

Number
An integer, which is the index of the current model. Allowable values are zero to the number of loaded models, minus one.

Context

*BeginGraphic()

Example

*BeginGraphic()
• • •
   *ModelSource({GRAPHIC_FILE_1}, LS_DYNA d3plot)
   *CurrentModel(0)
• • •
*EndGraphic()

Comments

The array of models in the animation window is referenced from zero, thus the first model is selected by the statement *CurrentModel(0).