*SetCurrentSolverMode()

Sets the solver mode when the MDL model is loaded into MotionView.

Syntax

*SetCurrentSolverMode(MOTIONSOLVE|ADAMS|DADS|ABAQUS|NASTRAN|[OTHER])

Arguments

solver
The active solver is set to the type of solver selected.
Data type: keyword

Example

*BeginMDL( model, "Model" )
 . . .
 *SetCurrentSolverMode( MotionSolve )
 . . .
*EndMDL()

Context

*BeginMdl()

Comments

In the case where the MDL API is used to develop additional solver writers that are registered in the preferences.mvw file, "OTHER" is the varname used for that solver in the *RegisterSolver() preference statement.