*SetBodyICFlag() - single body

Sets flags to indicate whether the initial conditions are used.

Syntax

*SetBodyICFlag(body_name, vx_f, vy_f, vz_f, 
                                    wx_f, wy_f, wz_f)

Arguments

body_name
The variable name of an existing body.
Data type: varname
vx_f, vy_f, vz_f, wx_f, wy_f, wz_f
TRUE =use initial condition component. FALSE =do not use initial condition component.
Data type: boolean

Example

*Body(bd, "wheel", p_wheel)
*SetBodyICFlag(bd, TRUE, TRUE, FALSE, , , TRUE)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

Comments

Arguments can be TRUE, FALSE, or empty. If an empty argument is given, the previous value of the flag is retained.